LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2008, 12:00 AM   #1
btbx
Member
 
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Question Batch Greyscale Image Converter to Full Color 24 bit JPEG?


I want to convert several thousands greyscale (black and white/monochrome) images in PBM, PNM, TIFF etc to color JPEG / JPG (24 bit) format.

Is there any program / script for batch conversion of image?

I try with convert (imageMagick) but the result are 8 bit Greyscale JPEG images.

How to solve this problem in Linux?
Thank you.
 
Old 04-15-2008, 12:25 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Can it be done? There is no relation between a greyscale and color information, so how can a program possibly do it?

Same for you when you look at a certain B/W photo. Do you know what is blue, red, grey etc? You might see grass and know it's green but it might also have been yellowish when the photo was taken in a dry period.
 
Old 04-15-2008, 06:32 AM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,191

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
I assume you want to keep the B/W pictures in gray, but convert the FORMAT to 24-bit JPG. If you want convert gray to lively colors, please refer to WS's answer.

There are many options in ImageMagick, with a description which not always totally clear. I would go for -depth 8 and -color RGB

BTW... some old movies in B/W have been converted to color. They must have started with coloring one picture in a scene, but then what? And did they start the coloring again for each new scene? And the zillions of images in a movie were colored by a computer?

jlinkels
 
  


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
Pentax .PEF RAW to JPEG batch conversion utility needed Tom Brown Linux - Software 4 12-27-2010 08:36 PM
Batch bmp -> jpg converter? xushi Programming 10 01-31-2009 02:45 PM
batch-converting PS or PDF to Jpeg, cropping mechagojira Linux - Software 1 08-21-2007 11:33 AM
Can't get out of 24 bit color want (32 bit) also can't go to 1280x1024, nVidia? mr_coffee Linux - Hardware 3 01-19-2006 07:06 PM
GIMP - 16 bit/color (48 bit/pixel) Maxxum9 Linux - Software 1 01-03-2005 09:43 PM

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

All times are GMT -5. The time now is 06:23 AM.

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