LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2005, 11:57 AM   #1
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,834

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Batch changing colors in png images?


Hi all, and a Happy New Year!

I hope this will be a simple problem for you. I've been doing some DVD authoring stuff, and I've got a large string of 3 and 4-color .png images (subtitles) whose colors are not what I want them to be. I need to find a quick way to switch the colors throughout the batch to different ones, without affecting the overall structure of the image (especially the 4 color limit and alpha transparency), and without having to open them all up individually.

In other words, if the images have color 'A' in them, I want a simple and safe way to change it to color 'B' throughout the whole batch. Is there some way to use GIMP or ImageMagick batch processing or something to do this?
 
Old 01-01-2006, 02:07 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,834

Original Poster
Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Bump.

I finally discovered how to get the original palette when ripping the subtitles in the first place, but I'd still like to know how to do this so that I can change the colors to better looking ones when I want. Any info? Even just a suggestion as to the best place to look would be appreciated.
 
Old 01-01-2006, 03:05 PM   #3
mammlouk
Member
 
Registered: May 2005
Location: Colorado
Distribution: Suse 10.0 OSS RC1
Posts: 100

Rep: Reputation: 15
You should be able to do it with GIMP. I would try swinging by the GIMP website for help. I don't really know any particulars on how it would work.. sorry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox and .png images. slackbat Slackware 9 12-02-2005 10:22 AM
Cannot open .png images. Nz_Boy_2004 Linux - Software 5 12-18-2004 11:23 PM
Here are some more attractive Kweather png images devfreak Linux - Software 2 03-31-2004 10:58 PM
program that allows changing of number of colors in .png file? frieza Linux - Software 1 02-10-2004 01:05 AM
png images not served by apache ..??? gene_gEnie Linux - Software 2 05-10-2002 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration