Hacker News new | ask | show | jobs
by ars 5830 days ago
Why does it resale the image?

I sent a 640x411 image and got back a 800x514

Also an area of solid black turned into cyan and magenta. (The image I tried was http://i42.tinypic.com/169lppj.jpg - and yes I know it's not a whiteboard, but it looks like one.)

1 comments

Sorry, I'm rescaling the image right now to roughly 800x600 to keep down on the memory usage of the process. Based on what I'm seeing today I think I can raise the maximum picture size and not rescale if it's within that size. Thanks for giving it a try.
The last time I did something like this, I made a point to never scale upwards to the target size.