[CDS API] Change image resolution for Low/Medium qualities via profile
Issue #640
resolved
No description provided.
Comments (8)
-
repo owner -
reporter I would probably like something like 1280x1280 max for Low, and 1920x1920 max for Medium. I think they are something like 800x800 and 1024x1024 at the moment?
Basically want to avoid downloading and loading into memory a 4000+ resolution image
-
repo owner These are the current ones
public static final int JPEG_SM_MAX_WIDTH = 640; public static final int JPEG_SM_MAX_HEIGHT = 480; public static final int JPEG_MED_MAX_WIDTH = 1024; public static final int JPEG_MED_MAX_HEIGHT = 768;
-
reporter OK, yes I'm currently using MED, if that could be increased by the profile that would be great. How does the different height/width values work for portrait photos? Does it take that into account or does it make then 320x480 for example in the case of the current low?
-
repo owner It should work it out, I think.
-
repo owner - changed status to resolved
Added a new profile tag
<AllowedImageResolutions large="4096x4096" medium="1024x768" small="640x480" />
-
repo owner - changed version to 1.3
-
reporter thanks!
- Log in to comment
Can you provide some description, please? Just your required resolution limits will do.