Bugs item #1707821, was opened at 2007-04-25 23:28
Message generated for change (Settings changed) made by tdonohue
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1707821&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Batch tools
Group: 1.4.2
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: K.Nakagami (knakagami)
Assigned to: Nobody/Anonymous (nobody)
Summary: JPEGFilter throws IllegalArgumentException

Initial Comment:
JPEGFilter throws IllegalArgumentException when the aspect ratio of target 
picture is too large.

(example) 
# In dspace.cfg
thumbnail.maxwidth  100
thumbnail.maxheight 100

# apply filter-media to 1000x1 picture 
Applying Media Filters
original size: 1000.0,1.0
x scale factor: 0.1
new size: 100.0,0.1
created thumbnail size: 100.0, 0.1
ERROR filtering, skipping bitstream #1234
java.lang.IllegalArgumentException: Width (100) and height (0) cannot be <= 0
...

Is it need to call Math.ceil before (int) cast?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1707821&group_id=19984

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to