AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.09.22 01:07 "Status of ISO JBIG and CIELAB JPEG support", by A Wandering Libtiff User
2006.09.22 11:14 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.25 17:08 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.26 06:48 "Re: Status of ISO JBIG and CIELAB JPEG support", by A Wandering Libtiff User
2006.09.26 10:48 "Re: Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.26 11:56 "Re: Status of ISO JBIG and CIELAB JPEG support", by A Wandering Libtiff User
2006.09.26 12:50 "Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.26 17:53 "Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.26 21:20 "Re: Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Chris Cox
2006.09.26 23:25 "Re: Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.26 14:02 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.26 13:38 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.27 06:13 "Re: Status of ISO JBIG and CIELAB JPEG support", by Graeme Gill
2006.09.27 12:38 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.27 19:42 "Re: Status of ISO JBIG and CIELAB JPEG support", by A Wandering Libtiff User
2006.09.27 20:39 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.09.28 18:39 "Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.29 08:30 "Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.09.29 12:50 "Re: Re[2]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.10.03 11:26 "Re[4]: [Tiff] Status of ISO JBIG and CIELAB JPEG support", by Jean-yves Le Ridant
2006.10.03 13:09 "Re: Status of ISO JBIG and CIELAB JPEG support", by Joris Van Damme
2006.10.19 12:56 "Re: Status of ISO JBIG and CIELAB JPEG support", by Leridant Jean-yves
2006.09.27 20:12 "Re: Status of ISO JBIG and CIELAB JPEG support", by A Wandering Libtiff User
2006.09.22 13:55 "Re: Status of ISO JBIG and CIELAB JPEG support", by Ed Grissom

2006.10.19 12:56 "Re: Status of ISO JBIG and CIELAB JPEG support", by Leridant Jean-yves

Joris a écrit :

>Jean-Yves Le Ridant wrote:
>  
>
>>I agree and its for parts a result, when trying to add some general
>>support for lab/jpeg/tiff files, of dealing with specs, some "state of
>>art" of libtiff 3.7.3 ( don't know if things have changed ), tifftools
>>( mainly  tiffcp ), photoshop, and ... my own user's requests.
>>;-)
>>    
>>
>
>I think we've some communication problems going on...
>
Yes and no ! I didn't take anything in offense :-))
Just  something like a "hard disk failure" on my main worstation added
to parano network administration ..., and coming with Thunderbird
Please, tell me what about this html <censored>  for  this  list.

Rather, I highly appreciate someone submit my files to his own "inspector".
"Le diable habite les détails", especially when ...
"enhancing" some small area of a so widely dispatched soft as libtiff,
and some lack of feed back is one of the reason why this job
is "suspended" since one year.

>As far as this problem is concerned, the way my decoder handles this is
>the following:
>
>- if colorspace is YCbCr
>    - if Subsampling tag is not present
>        -> assume TIFF 6.0 default [2,2] applies
>    - else
>        -> assume Subsampling tag is correct
>- else if colorspace is CIE, ICC or ITU Lab
>    - if Subsampling tag is not present
>        -> assume writer thinks subsampling doesn't apply, i.e. assume
>[1,1]
>    - else
>        -> assume writer thinks subsampling applies, i.e. that this tag
>is correct
>- else
>    -> assume no subsampling, regardless of tag presence
>
[...]

>I've not yet made a definite choice in the encoder, though. So I for one
>am hoping someone with authority tries to clean up this confusion in a
>proper manner. (For example by allowing encoders to either disregard or
>apply subsampling to CIE, ICC, and ITU Lab, at will, by making the
>default for this tag be [1,1] as far as these Photometrics is concerned.
>Messy to have the default depend on the value of another tag, but it may
>very well be the only way out, and it certainly is consistent with the
>files out there already.)
>
The above "policy" look very like where I came in my jobs, with some 
difference,
there's no real "codec", and are handled by changes in libtiff ( not so 
much except tif_jpeg.c )
and tiffcp. This is a *bad thing*, resulting of historical reasons  : I 
have been
long to understand that no serious job could be done without exploring 
in depth some
process involded around for example JPEG_COLOR_MODE pseudo tag ... ;-)))

More, one of my major goal was to "way out horrible jpeg CIELAB files", 
so I used
this pseudo tag to have a parallel relationship CIE/ICC as RGB/YCC 
defaut transformation.
Then added a flag to "raw decompress"  and  it  is  "logic"  : no color 
transform but
no upsampling anymore ---> interleaved subsampled file as every one like 
them :-)))
And ITU is proceeded  at end exactely like YCC, except tags.

This is approx "the state of my art".
:-)
Restarting this job ( has someone ITU lab files, is there some 
"authority" somewhere  ?)
I think all this policy could be handled by extendORing the JPEG_COLOR_MODE
pseudo tag, with respect of "oldunaware" _RGB _RAW. It is not a 
tremendous job,
as soon as some mechanism in the lowlevel part of tif_jpeg.c are reliable.
It was not the case, in version 3.7.3 : I persist some of the problem of 
too many
too few scanline, tiffcp crashes, ... are in tif_jpeg when leaving the 
usual sheme RGB -->
YCC 2:2 ---> RGB

Best regards

--
Jean-Yves

>
>  
>