imlib2 fails to load Sony ARW files #10

Closed
opened 2023-04-20 04:27:56 -07:00 by Ghost · 2 comments

While trying to use imlib2_view to view a Sony ARW raw file from an A7R3 camera, I got this error:

$ imlib2_view A7R08525.ARW                                                   
TIFFReadDirectory: Warning, Unknown field with tag 50341 (0xc4a5) encountered.
MissingRequired: TIFF directory is missing required "ImageLength" field.
No loadable image
$ imlib2_load A7R08525.ARW 
TIFFReadDirectory: Warning, Unknown field with tag 50341 (0xc4a5) encountered.
MissingRequired: TIFF directory is missing required "ImageLength" field.
*** Error -2:'Imlib2: No loader for file format' loading image: 'A7R08525.ARW'

This method worked fine for viewing Canon CR2 raw images.

While trying to use imlib2_view to view a Sony ARW raw file from an A7R3 camera, I got this error: ``` $ imlib2_view A7R08525.ARW TIFFReadDirectory: Warning, Unknown field with tag 50341 (0xc4a5) encountered. MissingRequired: TIFF directory is missing required "ImageLength" field. No loadable image ``` ``` $ imlib2_load A7R08525.ARW TIFFReadDirectory: Warning, Unknown field with tag 50341 (0xc4a5) encountered. MissingRequired: TIFF directory is missing required "ImageLength" field. *** Error -2:'Imlib2: No loader for file format' loading image: 'A7R08525.ARW' ``` This method worked fine for viewing Canon CR2 raw images.
Owner

Yeah, files with TIFF signature are picked up by the TIFF loader, but are then rejected if they are not proper TIFF image files.
Sony arw files are not regular TIFF image files whereas the Canon cr2 are.
I guess it would require som raw image file support (LibRaw?).
Maybe some day :)

Yeah, files with TIFF signature are picked up by the TIFF loader, but are then rejected if they are not proper TIFF image files. Sony arw files are not regular TIFF image files whereas the Canon cr2 are. I guess it would require som raw image file support (LibRaw?). Maybe some day :)
kw referenced this issue from a commit 2023-07-02 12:45:22 -07:00
Owner

A raw file loader has been added.
Seems to work with quite a few raw image formats (the ones supported by LibRaw), but not all.
Not fast though, it seems to me, but then again raw files are typically quite large.

A raw file loader has been added. Seems to work with quite a few raw image formats (the ones supported by LibRaw), but not all. Not fast though, it seems to me, but then again raw files are typically quite large.
kw closed this issue 2023-07-04 08:57:53 -07:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: old/legacy-imlib2#10
No description provided.