|
Boost : |
Subject: Re: [boost] [gil] Can not open test.jpg
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2010-03-19 06:35:26
Mariusz Kwiczala wrote:
> I cannot open test.jpg from
>
> boost_1_42_0\libs\gil\example\test.jpg
>
> I use below application:
> InfranView
> FireFox
> IE
> Windows tools: (Paint, WLXPhotoGallery ... )
>
> Does it mean that GIL uses some special, jpg file format? :)
There seems to be something wrong with the file indeed
I tested it with gdalinfo utility from GDAL library
(http://www.gdal.org) which opens number of JPEG variations,
and tries to cope with some error conditions and
here is what I got:
G:\dev\boost\_svn\trunk\libs\gil\example>gdalinfo test.jpg
Read 135 of 4096 requested bytes.
Corrupt JPEG data: 1 extraneous bytes before marker 0xdb
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk