A Photography forum. PhotoBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PhotoBanter.com forum » Digital Photography » Digital SLR Cameras
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

ufraw --size ignores 2nd dimension



 
 
Thread Tools Display Modes
  #1  
Old April 6th 08, 09:45 PM posted to rec.photo.digital.slr-systems
Mike -- Email Ignored
external usenet poster
 
Posts: 116
Default ufraw --size ignores 2nd dimension

The command:

ufraw-batch --out-type=jpeg --wb=camera --interpolation=ahd \
--size=3600,2000 --compression=85 dsc_0004.nef

appears to ignore the "2000"; likewise if I change ',' to 'x'.
The output size remains 3600,2387, as it is with the "3600"
alone. Am I doing something wrong?

Thanks,
Mike.
  #2  
Old April 7th 08, 04:00 AM posted to rec.photo.digital.slr-systems
Floyd L. Davidson
external usenet poster
 
Posts: 5,138
Default ufraw --size ignores 2nd dimension

Mike -- Email Ignored wrote:
The command:

ufraw-batch --out-type=jpeg --wb=camera --interpolation=ahd \
--size=3600,2000 --compression=85 dsc_0004.nef

appears to ignore the "2000"; likewise if I change ',' to 'x'.
The output size remains 3600,2387, as it is with the "3600"
alone. Am I doing something wrong?


The man page says the argument is "max(height,width)",
but it is not at all obvious what that means.

The argument SIZE is one single number, never a pair.

The program is ignoring everything from the first
non-numeric character in the argument (which could be
called a bug because it should be clear that *any*
non-numeric character is necessarily an indication that
the argument is invalid).

The SIZE number will be applied to whichever of the
image height or width is the largest.

Hence if you have a vertical image that is 1000x2000
(width x height) and use the argument "--size=300", the
results will be an image that is 150x300.

If the same argument is applied to a 2000x1000 image
that is horizontal, the result will be output at
300x150.

--
Floyd L. Davidson http://www.apaflo.com/floyd_davidson
Ukpeagvik (Barrow, Alaska)
  #3  
Old April 8th 08, 03:36 PM posted to rec.photo.digital.slr-systems
[email protected]
external usenet poster
 
Posts: 79
Default ufraw --size ignores 2nd dimension

On Apr 6, 11:00 pm, (Floyd L. Davidson) wrote:
Mike -- Email Ignored wrote:

The command:


ufraw-batch --out-type=jpeg --wb=camera --interpolation=ahd \
--size=3600,2000 --compression=85 dsc_0004.nef


appears to ignore the "2000"; likewise if I change ',' to 'x'.
The output size remains 3600,2387, as it is with the "3600"
alone. Am I doing something wrong?


The man page says the argument is "max(height,width)",
but it is not at all obvious what that means.

The argument SIZE is one single number, never a pair.

The program is ignoring everything from the first
non-numeric character in the argument (which could be
called a bug because it should be clear that *any*
non-numeric character is necessarily an indication that
the argument is invalid).

The SIZE number will be applied to whichever of the
image height or width is the largest.

Hence if you have a vertical image that is 1000x2000
(width x height) and use the argument "--size=300", the
results will be an image that is 150x300.

If the same argument is applied to a 2000x1000 image
that is horizontal, the result will be output at
300x150.




Yeah, I agree. That's a bug. Someone should file a bug report.

http://sourceforge.net/tracker/?grou...49&atid=709086


  #4  
Old April 8th 08, 09:49 PM posted to rec.photo.digital.slr-systems
Floyd L. Davidson
external usenet poster
 
Posts: 5,138
Default ufraw --size ignores 2nd dimension

wrote:
On Apr 6, 11:00 pm, (Floyd L. Davidson) wrote:
Mike -- Email Ignored wrote:

The command:


ufraw-batch --out-type=jpeg --wb=camera --interpolation=ahd \
--size=3600,2000 --compression=85 dsc_0004.nef


appears to ignore the "2000"; likewise if I change ',' to 'x'.
The output size remains 3600,2387, as it is with the "3600"
alone. Am I doing something wrong?


The man page says the argument is "max(height,width)",
but it is not at all obvious what that means.

The argument SIZE is one single number, never a pair.

The program is ignoring everything from the first
non-numeric character in the argument (which could be
called a bug because it should be clear that *any*
non-numeric character is necessarily an indication that
the argument is invalid).

The SIZE number will be applied to whichever of the
image height or width is the largest.

Hence if you have a vertical image that is 1000x2000
(width x height) and use the argument "--size=300", the
results will be an image that is 150x300.

If the same argument is applied to a 2000x1000 image
that is horizontal, the result will be output at
300x150.


Yeah, I agree. That's a bug. Someone should file a bug report.

http://sourceforge.net/tracker/?grou...49&atid=709086



There is no bug. It does exactly what the author
intended it to do. The description of it in the man
page is terse, and we tend to approach it with the
mindset that it does the same thing that other programs,
such as ImageMagick, do.

--
Floyd L. Davidson http://www.apaflo.com/floyd_davidson
Ukpeagvik (Barrow, Alaska)
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ufraw with Nikon D40 Fredrik Sandstrom Digital Photography 1 July 3rd 07 10:58 PM
ufraw on XP, no libgdk [email protected] Digital Photography 3 November 7th 06 04:06 PM
Samsung Ignores Mac Users [email protected] Digital Photography 10 August 27th 06 11:46 PM
UFraw - *.NEF file conversion Frederick Digital Photography 0 April 17th 05 03:51 AM


All times are GMT +1. The time now is 12:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PhotoBanter.com.
The comments are property of their posters.