English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 06 August 2018, 00:11   #1
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 574
Question Command line image conversion tools

This is a question I didn't anticipate asking, but after a bunch of googling and searches over here on eab.abime.net.... I'm kinda stuck.

I'm looking for a MS Windows command line image converter that allows .iff (ILBM) to 8-bit BMP* conversions. Somehow this seems very hard to find.

I did find several command line tools, but none of them seem to support ILBM as input format. I tried using Irfanview, which does do the conversion from the command line but screws up the palette entries and hence bitplane order. I also found at least one GUI based package that seems to allows for it, but I'm looking to include the conversion into a makefile so GUI only isn't very helpful.

The two features it really should have is a) support for all OCS screen modes (standard, HAM, EHB) and b) it should keep all colours of the Amiga IFF palette intact and in the same order.

Hopefully someone here knows of a good candidate?

*) well, I'd prefer one that does a conversion to a raw interleaved bitmap, but that seems right out. However, I do have BMP2RAW from the Solid Gold Source, so conversion to 8-bit BMP will also do as that tool deals with the second step extremely well.
roondar is online now  
Old 06 August 2018, 04:20   #2
haps
Rumpig

haps's Avatar
 
Join Date: Aug 2006
Location: The bottom of the bottle
Age: 2
Posts: 181
I would imagine Image Magick should be able to do it.
haps is offline  
Old 06 August 2018, 11:13   #3
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 574
Thanks for your suggestion!

I have downloaded it and tried it but sadly, it turns out it doesn't support IFF or ILBM formats. It supports just about anything else, but not IFF's
roondar is online now  
Old 07 August 2018, 03:05   #4
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 574
An update: after messing around with libiff and libilbm, I managed to make an IFF reading version of BMPToRaw from the Solid Gold Source. Does the exact same thing, command line included, as BMPToRaw, but uses IFF ILBM files for input.

If people are interested, I am more than willing to share the code - ugly as it is.
roondar is online now  
Old 07 August 2018, 10:44   #5
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,387
You could also try ImageConverter from Thilo Koehler, which once was on Aminet and on his homepage http://www.hd-rec.de, but isn't anymore. It seems to support both formats, but I'm not sure whether it will do what you need. It runs on OS 3.x and it's still there, but hidden. Just execute ImageConverter to see the command syntax with all options.

http://www.hd-rec.de/Archive/ImageConverter.lha

Another candidate:
http://aminet.net/package/gfx/conv/iBatch

Last edited by PeterK; 07 August 2018 at 11:27.
PeterK is offline  
Old 07 August 2018, 11:28   #6
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,146
He's looking for a Windows tool: "I'm looking for a MS Windows command line image converter".
StingRay is offline  
Old 07 August 2018, 11:37   #7
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,387
Yes, I've read that, but why not using the Amiga if it's difficult to find a solution for Windows. It was just a hint, not even tested.
PeterK is offline  
Old 07 August 2018, 12:56   #8
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 574
Thanks for the suggestions, but I really did need a Windows tool. Having a Windows tools allows me to automate the conversion when making the project, so I don't need manually do one part on the Amiga side and the rest on the Windows side. It's all about efficiency, really.

Anyway, I no longer need a tool - I've made one using some the source code to other tools (BMPToRaw/libiff/libilbm) and a bit of C coding.

Still, it's good to know there are command line Amiga alternatives, should I need them
roondar is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
LHA in command line for PC Vollldo request.Apps 2 04 March 2012 13:27
Command Line question brolly support.WinUAE 8 18 April 2011 12:11
is there new command line ? turrican3 support.WinUAE 1 15 April 2007 13:21
command line? Drake1009 support.WinUAE 7 14 August 2004 18:17
Command Line. ruttolibero support.WinUAE 1 25 July 2003 16:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06763 seconds with 13 queries