[Gimp-user] GIMP Scripting from the CLI



Hey All,

I have about 160-ish images I scanned in as .tif's (my scanner offers .bmp, .jpg, .png, and .tif for saving scanned images as) @ 300-dpi. I'd like to batch export them all to .xcf (for future working with) and .png (I know I could have chose png to start but I thought .tif would be the better choice as a first format). Is it possible to do this with a shell-script? I'm fairly certain I could concoct something to .tif -> .png using ImageMagick (I don't think it supports .xcf) but I'd like to use The GIMP for the whole process if possible, and I'd rather not do it by hand. As it is I'm going to have to figure out how to batch-rename (well, I know how I'm going to do it, a shell script, but how to write it is going to be the tough part for me) about 100 if the images to prepend a 0 to the file name (I started with a two-digit numbering system not realizing I had so many images and would like to keep all the names listing properly on FreeBSD).

Anyway, I'm just interested in knowing from you guys if such a shell export-to-xcf-and-png script is even possible (I really, really do not want to do this manually).
--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]