[wp-trac] [WordPress Trac] #53408: png images bit depth is modified in resized images

WordPress Trac noreply at wordpress.org
Tue Jun 15 15:16:21 UTC 2021


#53408: png images bit depth is modified in resized images
--------------------------+------------------------------
 Reporter:  wpfed         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.7.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by wpfed):

 Update from the ImageMagik pros:

 I found that if you, say, blur the file and save with PNG8:filename.png,
 the 8-bit alpha format is preserved with only a small increase in file
 size. ImageMagick cannot achieve the same level of optimization as
 specialized programs such as you used. So the file size went from 105K to
 112K. So have WordPress change the code so that when 8-bits is desired,
 add the PNG8: prefix to the filename.

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


More information about the wp-trac mailing list