English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 08 June 2016, 02:24   #1
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,661
Tool to batch palette remap?

Is there any tool that will batch process a bunch of IFF or PNG files And remap them to a fixed palette?

It could be an Amiga tool or a PC tool. I have no idea.
Amiga1992 is offline  
Old 08 June 2016, 07:51   #2
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 900
Quote:
Originally Posted by Akira View Post
Is there any tool that will batch process a bunch of IFF or PNG files And remap them to a fixed palette?

It could be an Amiga tool or a PC tool. I have no idea.

I wrote a tool that can do this, but unfortunately it is really only easy to build it on mac/unix.

If you get stuck I could convert the files for you.
alpine9000 is offline  
Old 08 June 2016, 08:04   #3
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,359
https://github.com/idrougge/BatchRemapBrushes
idrougge is offline  
Old 08 June 2016, 15:37   #4
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,661
Thanks idrougge, I will check that out although I am not sure if it is what I need, because I need to do this to pics and not brushes. I'll give it a go see if it works regardless.

Is there any tool that would do not just remapping but also dithering if necessary?
Amiga1992 is offline  
Old 08 June 2016, 15:54   #5
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,314
GfxCon on Amiga but it doesn`t support PNG.
daxb is offline  
Old 08 June 2016, 16:42   #6
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,661
That's fine, I added PNG in case it was a PC tool.
Amiga1992 is offline  
Old 08 June 2016, 17:01   #7
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
imagemagick could also do the the trick
Quote:
# Create an 8-bit png from our source, with a 235-color palette as an example.
convert truecolor_source.png -colors 235 palette.png

# Create an 8-bit png from an arbitrary image and use the palette in palette.png
convert sample.png -map palette.png output.png

Last edited by emufan; 08 June 2016 at 17:06.
emufan is offline  
Old 08 June 2016, 17:12   #8
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,359
@Akira, PPaint doesn't care if it's a brush or a picture, though you may need to alter the script to suit your specific needs.
idrougge is offline  
Old 09 July 2024, 23:07   #9
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,853
What's the easiest to do a batch indexed palette conversion?
Retro1234 is offline  
Old Today, 09:08   #10
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,853
Gonna. Bump this.

I used a batch script that simulates key presses on PC - Every picture took 30 seconds and I had thousands of pics. There must be a better way?

I mean how do people do the AGS conversions?
Retro1234 is offline  
Old Today, 10:05   #11
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 450
I wrote a windows tool to do this that wraps nconvert. It'll do single or batch converting and supports png, jpg, webp and iff. It'll output iff, png and pdf in anywhere from true colour to 8 colours indexed. It's on my github page.

https://github.com/MrV2K/ImageConverter

Last edited by mrv2k; Today at 18:23.
mrv2k is offline  
Old Today, 15:11   #12
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,853
Brilliant ill check it out
Retro1234 is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch unpacking RNC files from a disk image - is there a tool for it? earok support.Games 4 09 March 2016 05:04
256 colors remap Retrofan support.Other 108 22 July 2015 23:57
help to remap keyboard nuzzosono project.WHDLoad 0 12 December 2011 18:00
How to remap input? Minuous support.WinUAE 2 14 July 2008 20:26
Palette Arranging Tool? Six Coders. General 2 31 December 2006 22:34

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 21:30.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12402 seconds with 14 queries