Thanks Buddy,
I added "-strip" argument as given below before calling thumbnail();
op.addRawArgs("-strip");
It worked.
Thanks again.
Krishan
Search found 2 matches
- 2014-04-11T11:23:12-07:00
- Forum: Developers
- Topic: Thumbnail creation size is not decreasing very much
- Replies: 3
- Views: 5479
- 2014-04-11T07:40:40-07:00
- Forum: Developers
- Topic: Thumbnail creation size is not decreasing very much
- Replies: 3
- Views: 5479
Thumbnail creation size is not decreasing very much
Hi All, We are using IM4Java library for creating thumbnails. Our code snippet is given below. IMOperation op = new IMOperation(); op.addImage(sourceFileName); op.thumbnail(Integer.parseInt(dimension.getWidth())); op.addImage(destinationFileName); try { cmd.run(op); } catch (Exception e) { log.debug ...