Jump to content

API generated images bigger than original?


eutervogel
 Share

Recommended Posts

Using PNG compression for pictures might generate large files. Even with your black gradient try to export the original image as JPEG instead. The file size should be considerable smaller for all variations including webP files.

  • Like 1
Link to comment
Share on other sites

If calling the size() method on any page image fields, the default value for upscaling within that method is true. That means if there's code in a template to resize, unless upscaling is passed in as an option with a value of false, a 200x120 sized image could theoretically be resized to 1920x1200. (Just a possible way this could happen.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...