Hello,

http://lclevy.free.fr/cr2/
For EOS 500D (alias EOS Rebel Kiss X3):

Sensor width / height : 4832 x 3204 
Left and top border: 72   31
4832 - 72 = 4760
3204 - 31 = 3173

So replacing this line in rawspeed/data/camera.xml (EOS 500D)
<Crop x="62" y="30" width="4722" height="3142"/>

with this one:
<Crop x="72" y="31" width="4760" height="3173"/>
fixed the issue.


> ----------------------------------------
> From: Jeepeii Jagesh <jeep...@mailfence.com>
> Sent: Sat Jul 07 18:02:56 CEST 2018
> To: Timur Irikovich Davletshin <timur.davlets...@gmail.com>, 
> <darktable-user@lists.darktable.org>
> Subject: Re: [darktable-user] CR2 cropped compared to JPEG
> 
> 
> Thanks Timur,
> 
> In the case of EOS 500D, the camera JPEG is wider than RAW.
> I've try few software displaying CR2 file correctly:
>       rawtherapee
>       nufRaw
>       geeqie
>       digicam
>       aftershot
>       photivo
> I'd like to understand the issue with darktable.
> Would be great to fix this.
> 
> Jeepei
> 
> 
> > ----------------------------------------
> > From: Timur Irikovich Davletshin <timur.davlets...@gmail.com>
> > Sent: Sat Jul 07 07:50:54 CEST 2018
> > To: <darktable-user@lists.darktable.org>
> > Subject: Re: [darktable-user] CR2 cropped compared to JPEG
> > 
> > 
> > On Fri, 2018-07-06 at 23:57 +0200, Jeepeii Jagesh wrote:
> > > Hello,
> > > 
> > > I use a Canon EOS 500D, shot in RAW + JPEG.
> > > https://we.tl/11IDm9G2Yh
> > > In lighttable, the files display the same resolution 4752 x 3168.
> > > Opening the CR2 image in darkroom, it goes to 4832 x 3204. 
> > > But it's cropped, down and right by + -30px. 
> > > On Rawtherapee I don't have the problem.
> > > How can that be fixed?
> > > 
> > > Thanks
> > > _____________________________________________________________________
> > > _______
> > > darktable user mailing list
> > > to unsubscribe send a mail to darktable-user+unsubscribe@lists.darkta
> > > ble.org
> > > 
> > 
> > I've addressed similar issue not so long ago, so here is what I've got
> > as reply:
> > 
> > Am Dienstag, 1. Mai 2018, 20:55:20 CEST schrieb Timur Irikovich
> > Davletshin:
> > > Question just out of my natural curiosity. Just noticed that
> > darktable
> > > always produces pictures that are 30-50 pixels smaller when exporting
> > > from DNG than from camera Raw file. And even more, they never match
> > > claimed camera resolution. Biggest difference is on EOS 5D Mark III.
> > > 
> > > E.g. It claims 5920x3950 in DT image information but exported picture
> > > is (from CR2) 5794x3868 and (from DNG) 5760x3840. Nikon files show
> > the
> > > same.
> > > 
> > > At least in case of Adobe's converted files there is some logic that
> > > they always match builtin JPGs in size.
> > > 
> > > Remember I disabled all default modules (just 'original' in history
> > > stack), DNGs produced from Raw are not demosaiced (latest version of
> > > Adobe's tool with default settings).
> > 
> > No idea what Adobe does to the DNG files, but at least camera raw files
> > have 
> > (in general) some black borders and otherwise broken areas at the edges
> > that 
> > we cut off. Therefore the exported image size doesn't match the raw
> > file size 
> > 1:1. Camera JPEGs are a little smaller as they try to adhere to the
> > advertised 
> > aspect ratio and probably cut off more to err on the safe side (and
> > make the 
> > in-camera processing easier).
> > 
> > > Did I miss something?
> > > 
> > > Thanks for explanation in advance,
> > > 
> > > Timur.
> > 
> > Tobias
> > ____________________________________________________________________________
> > darktable user mailing list
> > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
> > 
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
> 
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to