JPEG images from Dwights sample code

View: New views
5 Messages — Rating Filter:   Alert me  

Parent Message unknown JPEG images from Dwights sample code

by Richard Nolde-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dwight,
When I build the test file generator and run it with the CVS head
version of libtiff from a couple of weeks ago on Fedora 11, I get
alternating stripes of black and white bands on all the images.  
However, the order of the bands is Black White Black White for all BUT
the Jpeg compressed images, and in those two the order is White Black
White Black when viewed with GraphicsMagic-1.3.6 2009-07-25-Q16.

However, Gthumb (Gnome Image Viewer), Gimp 2.6, and Geggie display all
the non-RGB images Black White Black White and all the  RGB images White
Black White Black.  Which is correct?

Richard Nolde

_______________________________________________
Tiff mailing list: Tiff@...
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

Re: JPEG images from Dwights sample code

by Dwight Kelly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard Nolde wrote:

> Dwight,
> When I build the test file generator and run it with the CVS head
> version of libtiff from a couple of weeks ago on Fedora 11, I get
> alternating stripes of black and white bands on all the images.  
> However, the order of the bands is Black White Black White for all BUT
> the Jpeg compressed images, and in those two the order is White Black
> White Black when viewed with GraphicsMagic-1.3.6 2009-07-25-Q16.
>
> However, Gthumb (Gnome Image Viewer), Gimp 2.6, and Geggie display all
> the non-RGB images Black White Black White and all the  RGB images
> White Black White Black.  Which is correct?

Hello, monochrome and grayscale will be opposite than RGB.

--
Dwight Kelly
Apago, Inc.  4080 McGinnis Ferry Rd  Suite 601 Alpharetta, GA 30005
voice:(770) 619-1884  fax:(770) 619-1885
email: dkelly@... web: http://www.apago.com

_______________________________________________
Tiff mailing list: Tiff@...
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

Re: JPEG images from Dwights sample code

by Kevin Myers-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brings up an interesting point regarding test images:  All test images
should probably be accompanied by a text description that provides some
details regarding what the image is *supposed* to look like.  Otherwise, it
may not be apparent to someone testing their application whether the image
is being displayed correctly or not.  I don't know whether such descriptions
have been typically supplied or not...

----- Original Message -----
From: "Dwight Kelly" <dkelly@...>
To: "Richard Nolde" <richard.nolde@...>
Cc: <tiff@...>
Sent: Tuesday, September 15, 2009 17:19
Subject: Re: [Tiff] JPEG images from Dwights sample code


> Richard Nolde wrote:
>> Dwight,
>> When I build the test file generator and run it with the CVS head
>> version of libtiff from a couple of weeks ago on Fedora 11, I get
>> alternating stripes of black and white bands on all the images.
>> However, the order of the bands is Black White Black White for all BUT
>> the Jpeg compressed images, and in those two the order is White Black
>> White Black when viewed with GraphicsMagic-1.3.6 2009-07-25-Q16.
>>
>> However, Gthumb (Gnome Image Viewer), Gimp 2.6, and Geggie display all
>> the non-RGB images Black White Black White and all the  RGB images
>> White Black White Black.  Which is correct?
>
> Hello, monochrome and grayscale will be opposite than RGB.
>
> --
> Dwight Kelly
> Apago, Inc.  4080 McGinnis Ferry Rd  Suite 601 Alpharetta, GA 30005
> voice:(770) 619-1884  fax:(770) 619-1885
> email: dkelly@... web: http://www.apago.com
>
> _______________________________________________
> Tiff mailing list: Tiff@...
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/ 

_______________________________________________
Tiff mailing list: Tiff@...
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

Re: JPEG images from Dwights sample code

by Toby Thain-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 15-Sep-09, at 6:48 PM, Kevin Myers wrote:

> Brings up an interesting point regarding test images:  All test images
> should probably be accompanied by a text description that provides  
> some
> details regarding what the image is *supposed* to look like.  
> Otherwise, it
> may not be apparent to someone testing their application whether  
> the image
> is being displayed correctly or not.  I don't know whether such  
> descriptions
> have been typically supplied or not...

Or a copy in a relatively predictable file format, like PNG. :)

--T

>
> ----- Original Message -----
> From: "Dwight Kelly" <dkelly@...>
> To: "Richard Nolde" <richard.nolde@...>
> Cc: <tiff@...>
> Sent: Tuesday, September 15, 2009 17:19
> Subject: Re: [Tiff] JPEG images from Dwights sample code
>
>
>> Richard Nolde wrote:
>>> Dwight,
>>> When I build the test file generator and run it with the CVS head
>>> version of libtiff from a couple of weeks ago on Fedora 11, I get
>>> alternating stripes of black and white bands on all the images.
>>> However, the order of the bands is Black White Black White for  
>>> all BUT
>>> the Jpeg compressed images, and in those two the order is White  
>>> Black
>>> White Black when viewed with GraphicsMagic-1.3.6 2009-07-25-Q16.
>>>
>>> However, Gthumb (Gnome Image Viewer), Gimp 2.6, and Geggie  
>>> display all
>>> the non-RGB images Black White Black White and all the  RGB images
>>> White Black White Black.  Which is correct?
>>
>> Hello, monochrome and grayscale will be opposite than RGB.
>>
>> --
>> Dwight Kelly
>> Apago, Inc.  4080 McGinnis Ferry Rd  Suite 601 Alpharetta, GA 30005
>> voice:(770) 619-1884  fax:(770) 619-1885
>> email: dkelly@... web: http://www.apago.com
>>
>> _______________________________________________
>> Tiff mailing list: Tiff@...
>> http://lists.maptools.org/mailman/listinfo/tiff
>> http://www.remotesensing.org/libtiff/
>
> _______________________________________________
> Tiff mailing list: Tiff@...
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/

_______________________________________________
Tiff mailing list: Tiff@...
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

Re: JPEG images from Dwights sample code

by Chris Cox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Tiff] JPEG images from Dwights sample code
If anything, I’d accompany the test files with a small JPEG marked as a preview of what the image should look like (downsample larger images, convert to 8 bit RGB, etc.).  Add a readme explaining that these are thumbnails, not exact representations.

Chris



On 9/15/09 4:31 PM, "Toby Thain" <toby@...> wrote:

On 15-Sep-09, at 6:48 PM, Kevin Myers wrote:

> Brings up an interesting point regarding test images:  All test images
> should probably be accompanied by a text description that provides
> some
> details regarding what the image is *supposed* to look like.  
> Otherwise, it
> may not be apparent to someone testing their application whether
> the image
> is being displayed correctly or not.  I don't know whether such
> descriptions
> have been typically supplied or not...

Or a copy in a relatively predictable file format, like PNG. :)

--T

> ----- Original Message -----
> From: "Dwight Kelly" <dkelly@...>
> To: "Richard Nolde" <richard.nolde@...>
> Cc: <tiff@...>
> Sent: Tuesday, September 15, 2009 17:19
> Subject: Re: [Tiff] JPEG images from Dwights sample code
>
>> Richard Nolde wrote:
>>> Dwight,
>>> When I build the test file generator and run it with the CVS head
>>> version of libtiff from a couple of weeks ago on Fedora 11, I get
>>> alternating stripes of black and white bands on all the images.
>>> However, the order of the bands is Black White Black White for
>>> all BUT
>>> the Jpeg compressed images, and in those two the order is White
>>> Black
>>> White Black when viewed with GraphicsMagic-1.3.6 2009-07-25-Q16.
>>>
>>> However, Gthumb (Gnome Image Viewer), Gimp 2.6, and Geggie
>>> display all
>>> the non-RGB images Black White Black White and all the  RGB images
>>> White Black White Black.  Which is correct?
>>
>> Hello, monochrome and grayscale will be opposite than RGB.

_______________________________________________
Tiff mailing list: Tiff@...
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/