Open GoogleCodeExporter opened 9 years ago
Hi,
could you share such an image with us.
greets mike
Original comment by m...@mm-log.com
on 19 Feb 2012 at 5:47
Sure, no problem.
Sincerely, Fredrik
Original comment by fredrik....@gmail.com
on 19 Feb 2012 at 10:00
Attachments:
Thanks. Well, it might take a little while to solve this :-(
greets mike
Original comment by m...@mm-log.com
on 21 Feb 2012 at 8:13
Let me know if there's anything I can Do. Im a dev too. Although I have not
worked with imaging programs.. What's strange to Me is that the file viewer can
show it but not the editor. I havnt read your source but maybe i should.. Any
recommended parts?
/Fred
Original comment by fredrik....@gmail.com
on 21 Feb 2012 at 9:11
That's a very nice offer :-)
The viewer shows the builtin preview jpeg of the RAW file, and the editor tries
to load the raw file and fails. The raw loading is done via dcraw, Photivo has
parts of it copied. So, the idea is to check which decoding function in ptDcRaw
is called and check it against current dcraw. So, I would follow the call
(*this.*m_LoadRawFunction)(); in RunDcRaw_Phase1. Additional there is an
identify function in ptDcRaw, that sets several flags for the current file. It
may also be, that this is off.
greets mike
Original comment by m...@mm-log.com
on 22 Feb 2012 at 5:06
You might want to have a look to the dlRaw source code on this point.
It reads your image flawlessly.
Note that the structure is still largely the same as photivo, but
- Identify() is now called IsRaw()
- RunDcRaw_Phase1() is now called Unpack()
- All non loader functions (color scaling, demosaicing, highlights ...) are
removed.
Jos
Original comment by jos@de-laender.be
on 27 Feb 2012 at 7:08
Attachments:
Forgot to say : the loader function is lossless_jpeg_load_raw(); for this image.
Jos
Original comment by jos@de-laender.be
on 27 Feb 2012 at 7:09
Original issue reported on code.google.com by
fredrik....@gmail.com
on 19 Feb 2012 at 4:16