Changeset 17311


Ignore:
Timestamp:
08/02/12 16:35:09 (7 years ago)
Author:
mistic100
Message:

missing jpeg quality in add_film_frame()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/include/functions.inc.php

    r17310 r17311  
    310310   
    311311  // open source image 
    312   $imgExt = strtolower(get_extension($src)); 
    313   switch ($imgExt) 
     312  switch (strtolower(get_extension($src))) 
    314313  { 
    315314    case 'jpg': 
     
    360359   
    361360  // save image 
    362   switch ($imgExt) 
     361  switch (strtolower(get_extension($dest))) 
    363362  { 
    364363    case 'jpg': 
    365364    case 'jpeg': 
    366       imagejpeg($imgBand, $dest); 
     365      imagejpeg($imgBand, $dest, 85); 
    367366      break; 
    368367    case 'png': 
Note: See TracChangeset for help on using the changeset viewer.