Amiga.org
Amiga computer related discussion => General chat about Amiga topics => Topic started by: swift240 on September 13, 2008, 05:08:17 PM
-
Hi all, this might be a tuff one.
I use Ubuntu 8.04 with all updates, and I have a load of Amiga IFF clipart I would like to convert so I can import them to Linux, so far I don't have any thing on Ubuntu that will do the job.
I have tried synaptics manager on Ubuntu but no good.
Is there any thing that will do the job?
I don't want to use the Amiga unless I use Amikit as its faster.
TIA,
Mike.
-
Your best bet is probably to convert the images to another format. I'm sure there is some open-source batch converter for Linux.
-
Yes I just found XnView tha will do the job, but I am problems trying to get it installed.
Mike.
-
ilbmtoppm < pic.ilbm | pnmtopng - > pic.png
To batch it you can use something like:
First have a script file ilbmtopng:
#! /bin/sh
echo processing $1...
ilbmtoppm < $1 | pnmtopng - > $1.png
(Remeber to chmod u+x it)
Then use it like this:
find somedir \( -iname '*.iff' -o -iname '*.ilbm' \) -type f -print0 | xargs -0 -r -n1 ./ilbmtopng
NOTE: If you don't have netpbm package you can install it with:
sudo apt-get install netpbm
-
Ahhh thank you for that info.
Mike.