l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 Jun 15 19:12

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Fwd: Re: Forcing a greyscape JPEG into RGB colorspace?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

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

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

The attached message has been automatically discarded.
Date: Mon, 14 Jun 2010 17:07:00 -0600
From: Orson Jones <orson@afriskito.net>
Subject: Re: [vox-tech] Forcing a greyscape JPEG into RGB colorspace?
To: vox-tech@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.)


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

Sent from my computer
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.