KatsumiKudo / fjcore

Automatically exported from code.google.com/p/fjcore
0 stars 0 forks source link

Resize *not* to scale? #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Probably not a high priority request, but I just easily changed FjCore (all
credit to a well-written library) to allow me to resize a photo to specific
dimensions (stretch/squeeze) rather than to the same scale.  We'd like our
users to upload at 3x4 ratio, but it doesn't always happen and if not, we
squash their photo rather than crop it.  

I renamed Resize to ResizeToScale which is not backwards compatible, but
you could probably just add a ResizeToDimensions or something to Resizer. 

The quality is very good, from what I can tell.  Your library has been great!

Original issue reported on code.google.com by brian%pi...@gtempaccount.com on 12 Aug 2009 at 8:38