Image plugin
-
@samdol
Hi
PSD itself is pretty hardcore. Maybe this can provide starting point
https://github.com/Code-ReaQtor/libqpsd -
@samdol
Hi do you mean a raw image format like in cameras or just raw as in no header etc?
http://stackoverflow.com/questions/18637721/how-to-display-a-raw-image-file-in-a-qt-gui -
@samdol
Hi do you mean a raw image format like in cameras or just raw as in no header etc?
http://stackoverflow.com/questions/18637721/how-to-display-a-raw-image-file-in-a-qt-gui -
@samdol
Hi do you mean a raw image format like in cameras or just raw as in no header etc?
http://stackoverflow.com/questions/18637721/how-to-display-a-raw-image-file-in-a-qt-gui -
@samdol said in Image plugin:
CRW
Nope, never saw such plugin. For some camera vendors you have to use the SDK to read it.
http://amin-ahmadi.com/2016/06/09/how-to-handle-canon-eos-raw-images-in-qt-c/Alternatively, you can use a lib
http://www.libraw.org/
and use to convert to format that you can
load or embed into Qt app so it can load native. -
@samdol said in Image plugin:
CRW
Nope, never saw such plugin. For some camera vendors you have to use the SDK to read it.
http://amin-ahmadi.com/2016/06/09/how-to-handle-canon-eos-raw-images-in-qt-c/Alternatively, you can use a lib
http://www.libraw.org/
and use to convert to format that you can
load or embed into Qt app so it can load native. -
@samdol
Hi do you mean a raw image format like in cameras or just raw as in no header etc?
http://stackoverflow.com/questions/18637721/how-to-display-a-raw-image-file-in-a-qt-gui -
From the link, it seems we need to know
width, height ,QImage::Format about the raw image file before read it.
Could we know those information before read it?@samdol said in Image plugin:
Could we know those information before read it?
Not really. That is why raw means many things.
One can guess about it if knowing color format/depth and the filesize but
ultimately it could be anything.For Cameras the raw format means uncompressed. Each vendor might save raw differently and hence
its not easy to "just" read raw files. -
@samdol said in Image plugin:
Could we know those information before read it?
Not really. That is why raw means many things.
One can guess about it if knowing color format/depth and the filesize but
ultimately it could be anything.For Cameras the raw format means uncompressed. Each vendor might save raw differently and hence
its not easy to "just" read raw files. -
@mrjj
when tried the code in the link with some raw files (NiKON NEF, ..) I could only see unrecognizable dots on the screen. Is it because I did not put the right w, h and format? -
Well most of the viewers use a library and hence knows vendor raw format and can guess
at format otherwise. Many raw formats do have a header to give more info.
So for camera raw means uncompressed and non filtered and not so much raw block of image data as it
means in other contexts.