On Sun, Jan 24, 2010 at 02:46:14PM -0600, Udi Fuchs wrote:

> > For reference, if this sensor size is "odd", some examples can be fetched
> > from http://0x.ca/sim/tmp/cr2/ (img_2425.cr2 is a fun one with lots of
> > nasty colour artifacts from shrink values > 1). :)
> 
> I'm getting "Forbidden access" when trying to download these files.

D'oh!  Try now...

> Are you using code from CVS? I think I fixed some rounding issues
> after the release of 0.16.

Yes, this was freshly checked out of CVS.  I see you've added:

+       // cropSize needs to be a integer multiplier of scale
+       cropSize = cropSize / scale * scale;

...but even with this addition it is still outputting 879 pixels when I ask
for 880:

# ufraw-batch --size=880 --output=/tmp/test.pnm /tmp/img_2425.cr2
ufraw-batch: Loaded /tmp/img_2425.cr2
ufraw-batch: Saved /tmp/test.pnm
# head -3 /tmp/test.pnm
P6
879 586
255

Simon-

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to