Image decoder on ios does not support choosing image frame size |
|||||
Issue descriptionIn https://codesearch.chromium.org/chromium/src/ios/chrome/browser/suggestions/ios_image_decoder_impl.mm, DecodeImage() does take a desired_image_frame_size parameter but does not make use of it. How can we support this? It had an impact for loading ico files on clank (see crbug/690029)
,
Sep 27 2017
,
Sep 27
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 28
,
Sep 28
The iOS image decoder doesn't explicitly decode images other than WebP. The image conversion is done by the system. The only parameter is the scale of the image. Is this still relevant?
,
Sep 28
not sure. On other platforms we had the problem with ico files containing multiple resolutions. If the preferred size was not specified, the smallest frame was returned. If that's no problem for iOS (i know little about the formats), then you can close this bug.
,
Oct 1
I think the ico -> UIImage might use the smallest ico image available. However, I am not sure we are hitting this issue a lot. I don't think it is worth fixing now, but I will keep it open. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by mvanouwe...@chromium.org
, Sep 13 2017Status: Available (was: Untriaged)