[vox-tech] Fwd: Re: Forcing a greyscape JPEG into RGB colorspace?

Bill Kendrick nbs at sonic.net
Mon Jun 14 16:27:04 PDT 2010


Orson posted from a non-subscribed address, so passing along
to the list on his behalf:

----- Forwarded message from vox-tech-bounces at lists.lugod.org -----

Date: Mon, 14 Jun 2010 16:12:11 -0700
From: vox-tech-bounces at lists.lugod.org
Subject: Auto-discard notification
To: vox-tech-owner at lists.lugod.org

The attached message has been automatically discarded.
Date: Mon, 14 Jun 2010 17:07:00 -0600
From: Orson Jones <orson at afriskito.net>
Subject: Re: [vox-tech] Forcing a greyscape JPEG into RGB colorspace?
To: vox-tech at lists.lugod.org

What are you using to determine the type of image? From what I have been
reading, imagemagick tells you about the contents of the image, not the
actual format it is saved in.

$ convert grey.jpg -type TrueColor converted.jpg

$ identify -verbose converted.jpg |grep Type:
  Type: Grayscale

$ djpeg -v -outfile /dev/null grey.jpg 2>&1 |grep components
Start Of Frame 0xc0: width=164, height=238, components=1
Start Of Scan: 1 components

$ djpeg -v -outfile /dev/null converted.jpg 2>&1 |grep components
Start Of Frame 0xc0: width=164, height=238, components=3
Start Of Scan: 3 components

(This shows that there are 3 components and not 1 like the grey image.)

Orson


----- End forwarded message -----

-- 
-bill!
Sent from my computer


More information about the vox-tech mailing list