VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234567[8]910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 18:03:30 02/28/01 Wed
Author: Michel
Subject: Re: Grayscale JPEG and Palette
In reply to: Bob Villiers 's message, "Grayscale JPEG and Palette" on 15:09:28 02/28/01 Wed


Hi Bob,

I did come across your thread on the Borland forums and started to think about this.

Indeed, gray JPEG images don't have a palette, but when displaying on windows, it is very common to create a gray palette where every entry has the same value for the RGB components. This saves on memory rather than using true color.

The JPEG support in Envision (and many JPEG software including Delphi) is based on the "independent jpeg group library" which handles the conversion automatically from a palette to the JPEG "format". Other than that, there is not much else to worry about.

Best regards,

Michel


>I am working at the moment with grayscale JPeg images
>and had believed that a grayscale (8bit) Jpeg
>contained a colour table. I had been lead to this
>belief because both PaintShop Pro and Envision
>automatically produce a palette when a grayscale Jpeg
>is recovered.
>
>Now I am told that all JPegs are 24 bit and that
>production of a palette is only a function of
>decompression. So how does TJpegGraphic distinguish
>between a greyscale and colour image?
>
>Bob

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.