Support to control the maximum image decoded size according to the user definition for the embedded device |
|||
Issue descriptionEmbedded devices usually have limited storage and memory size. So it would be great if we can give them the power to limit memory or storage usage. To do it, I've landed some command lines to limit the usage of memory or storage - crbug.com/823210 , crbug.com/824619 . As one of them, I'd like to introduce a new command line to control the image decoded size for embedded devices. According to the comment of |ImageDecoder::max_decoded_bytes_|, the decoded image size should be limited if it causes excessive memory or even crashes on low-memory devices. - https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h?q=ImageDecoder.h&sq=package:chromium&dr=CSs&l=377 IMHO, it would be good if we give embedders the power to limit the memory usage of image decoded size.
,
Jun 28 2018
,
Jun 28 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Apr 3 2018