#4364: Support for DNG (RAW)
---------------------------------------+-----------------------------------
             Reporter:  Clément Bœsch  |                    Owner:  (none)
                 Type:  enhancement    |                   Status:  open
             Priority:  wish           |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:  tif            |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------
Comment (by Michael Koch):

 A possible algorithm for cropping could work as follows.

 The following tags from the DNG files are required:
 "Default Crop Size", "Default Crop Origin" and "Active Area"

 The cropping size is "Default Crop Size", or if this tag isn't set, then
 no cropping is required.
 The cropping origin is the sum of "Default Crop Origin" and "Active Area",
 but please note that in "Active Area" the order is y before x.
 If "Active Area" isn't set, then use only "Default Crop Origin".
 If "Default Crop Origin" is also unset, then use 0,0 as cropping origin.

 This algorithm should work at least for images from Canon 6D, Canon 5D-
 MK4, Pentax K1, Pentax K5 and DJI Zemuse X7.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/4364#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to