Flask-Images icon indicating copy to clipboard operation
Flask-Images copied to clipboard

Generated image is bigger than original

Open lovato opened this issue 10 years ago • 2 comments

Please, validate this. When opening this, https://pbs.twimg.com/media/Bq1dN3lIEAAgQbv.jpg, a 800px wide image, I got on chrome inspect a 33.2k size. If I pass it through FlaskImages, default quality (75), and ask for 800 px as width output, I got a 33.7k size.

I am doing imgsizer/remote?w=800&u=https://pbs.twimg.com/media/Bq1dN3lIEAAgQbv.jpg

What do you think if FlaskImages, after generating the final file, knowing that the original is smaller, deliver and cache the original, as if it was generated by itself.

I know it depends on the original image, but it did happen sometimes.

Best Lovato

lovato avatar Jun 26 '14 02:06 lovato