missing JPEG::

Hubert Figuiere hub at figuiere.net
Wed Dec 6 05:58:08 PST 2006


George Talusan wrote:
> On Tue, 2006-05-12 at 17:10 -0500, Hubert Figuiere wrote:
>> Sort of weird. I have to figure out. But I have committed another
>> change that may fix it in your case.
> 
> Still happening..
> 
>>> I've hooked up libopenraw to gnome-raw-thumbnailer and it's really fast.
>>>
>>> I have a 10D CRW containing a RAW+JPEG and the thumbnail enumerator
>>> returns the large JPEG.  Is there another smaller thumbnail embeded in
>>> the CRW?  For now I scale a GdkPixbuf and save to png.
>> Apparently not. CRW seems to include only one thumbnail.
>>
>>
>>> I also have a 20D CR2 thumbnail and it has black borders and the top and
>>> bottom.. is there a way to get rid of these?
>> Nope. 160x120 is 4:3
>> It is like widescreen vs fullscreen in cinema.
> 
> The output of Dave Coffin's parse.c on a 20D CR2 creates a 100k
> thumbnail with 1536x1024 dimensions. I see code setting a thumb_offset
> and thumb_length and doing an fread() from the RAW and just dumping it
> to a JPEG...

It depends of the size you did request. If you request 160, you'll get
the 160x120 thumbnail with the black borders. If you request bigger
you'll get the 1536x1024.


Hub


More information about the Libopenraw-dev mailing list