Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.5

Bug #18131 Not reset $resized after save
Submitted: 2010-12-21 22:41 UTC
From: regdos Assigned:
Status: Open Package: Image_Transform (version 0.9.3)
PHP Version: 5.3.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2010-12-21 22:41 UTC] regdos (Tomek Regdos)
Description: ------------ 1. Resize image 2. Save image 3. Resize image 4. Save image "You have already resized the image without saving it. Your previous resizing will be overwritten" and save file is not resized :( I used GD driver and functions "display" and "save" don't have $this->resized = false; In IMLIB driver functions "display" and "save" have $this->resized = false; Test script: --------------- $i = &Image_Transform::factory('GD'); $i->keepSettingsOnSave(true); $i->load($_o_file); $i->scaleByX($start_x); $i->save($_n_file, 'jpg', 90); $i->scaleByX($PAGE['conf']['ksiazka']['width_m']); $i->save($_m_file, 'jpg', 90); $i->scaleByX($PAGE['conf']['ksiazka']['width_t']); $i->save($_t_file, 'jpg', 90); $i->free();

Comments