Ignore:
Timestamp:
Feb 28, 2012, 10:18:03 PM (12 years ago)
Author:
rvelices
Message:
  • derivative fix floating point rounding errors for certain sizes
  • increase derivative size for which metadata is kept
  • imagick use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception)
  • dont show mobile theme links if there is no mobile theme installed
  • mobile theme favicon removed because 404
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative_params.inc.php

    r13038 r13426  
    210210      {
    211211        $scale_size[0] = $this->ideal_size[0];
    212         $scale_size[1] = floor($scale_size[1] / $ratio_w);
     212        $scale_size[1] = floor(1e-6 + $scale_size[1] / $ratio_w);
    213213      }
    214214      else
    215215      {
    216         $scale_size[0] = floor($scale_size[0] / $ratio_h);
     216        $scale_size[0] = floor(1e-6 + $scale_size[0] / $ratio_h);
    217217        $scale_size[1] = $this->ideal_size[1];
    218218      }
Note: See TracChangeset for help on using the changeset viewer.