[wp-trac] [WordPress Trac] #30402: medium image size may be larger than full image size

WordPress Trac noreply at wordpress.org
Fri Mar 20 19:34:15 UTC 2015


#30402: medium image size may be larger than full image size
--------------------------+------------------------------
 Reporter:  qdinar        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.9.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by DH-Shredder):

 Replying to [comment:4 dnewton]:
 > I've been doing [https://github.com/nwtn/image-resize-tests a bunch of
 tests] <snip> Basically, when the images are resized there's some
 smoothing/aliasing that happens, which results in colours that weren't in
 the original. More colours = bigger file size.

 Thanks for the detailed testing!

 While I can see how dithered images could look moderately better, I'd tend
 to think the more expected behavior from users would be to maintain bit-
 depth where we can. Do you have some examples of images where maintaining
 bit-depth during resize is particularly undesirable?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30402#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list