carina-studio / PixelViewer

A cross-platform image viewer which supports reading raw Luminance/YUV/RGB/ARGB/Bayer pixels data from file and rendering it.
https://carina-studio.github.io/PixelViewer/
MIT License
275 stars 39 forks source link

Can't Download converted RAW image Pls Help! #13

Open willswordh opened 1 year ago

willswordh commented 1 year ago

Hi, I can't download converted RAW image in DNG format. Is there a way to download it in PixelViewer? Thanks a lot!!

hamster620 commented 1 year ago

@willswordh Do you mean you cannot open DNG file in PixelViewer? If so please help to provide the sample DNG file you use so that we can check the reason.

ThioJoe commented 10 months ago

Out of curiosity I was able to possibly reproduce what he means, he didn't give many details.

It seems if the DNG is created with lossy compression it gives an error when opening. I only tested it with Adobe's DNG converter and used a raw file from my Canon R5. It works if I don't enable the compression. Not sure if that's what he means though.

See here the error and the settings used.

image

Here's the DNG file: https://drive.google.com/file/d/1DrGKI_qjbXz2RHO0N9A695fkE-Z6blWq/view?usp=sharing

hamster620 commented 10 months ago

Hi @ThioJoe, it is a known limitation that PixelViewer doesn't support decoding DNG with compressed data. PixelViewer tries to use embedded JPEG when opening DNG with compressed data, an error will be produced if embedded JPEG not found in file.

@willswordh is it same as what you mentioned?