- IMG.LY Support Desk
- Technical FAQ
- Technical - PhotoEditor SDK
In the PhotoEditor SDK Web, how do I set different maximum megapixel limits for desktop and mobile devices?
The maxMegaPixels configuration parameter in the PhotoEditor SDK can be used to set different maximum megapixel limits for desktop and mobile devices. This parameter has sub-parameters for desktop and mobile, allowing you to set different limits for each device type. For example, if you want to limit desktop devices to 10 megapixels and mobile devices to 5 megapixels, you would set the desktop and mobile sub-parameters to these values.
For more information, please visit our documentation here.