Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24380


Ignore:
Timestamp:
05/21/2013 03:17:56 AM (11 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24380

    • Property Component changed from Editor to Media
  • Ticket #24380 – Description

    initial v1  
    1212
    1313in the elseif  block starting at line 337 i have added a variable called compression and changed the code as follow:
    14 
     14{{{
    1515elseif ( 'image/png' == $mime_type ) {
    1616                        // convert from full colors to index colors, like original PNG.
     
    2323                                return new WP_Error( 'image_save_error', __('Image Editor Save Failed') );
    2424                }
    25 
     25}}}
    2626This convert the scale 0->100 into a 0->9 scale that matches the parameters from imaging.
    2727