| Anonymous | Login | Signup for a new account | 2013.05.23 12:06 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0002672 | [Piwigo] image processing | minor | have not tried | 2012.06.30 00:20 | 2012.07.02 13:54 | ||
| Reporter | plg | View Status | public | ||||
| Assigned To | rvelices | ||||||
| Priority | normal | Resolution | fixed | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Fixed in Version | 2.4.1 | Product Version | 2.4.0 | ||
| Target Version | 2.4.1 | Product Build | |||||
| Summary | 0002672: [ImageMagick] invalid option sampling-factor for old versions of ImageMagick | ||||||
| Description |
The sampling factor does not work on old versions of ImageMagick, for example 6.2.8 which is still used by many hosting providers (it is the version provided in Debian Etch, current stable - 2) I propose to comment this option for now, but in the future to be able to detect the ImageMagick version and activate this option only if version > X (I don't which version is X) |
||||||
| Steps To Reproduce | |||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| browser | any | ||||||
| Database engine and version | |||||||
| PHP version | |||||||
| Web server | Apache 1.3.x | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0006397) svn (reporter) 2012.06.30 00:23 |
[Subversion] r16210 by plg on branch 2.4 -----[Subversion commit log]---------------------------------------------------- bug 2672: deactivate sampling-factor (for now) |
|
(0006398) svn (reporter) 2012.06.30 00:24 |
[Subversion] r16211 by plg on trunk -----[Subversion commit log]---------------------------------------------------- merge r16210 from branch 2.4 to trunk bug 2672: deactivate sampling-factor (for now) |
|
(0006399) rvelices (developer) 2012.06.30 06:29 |
if I read the code correctly, when using est imagick, we always call is_ext_imagick() and we launch convert -version we could save the return value ... |
|
(0006400) plg (manager) 2012.06.30 09:55 |
Yes I agree rvelices, we know the way to retrive the version of "convert". For Piwigo 2.4.1, I would like to increase stability first. I we store the EXTIM_VERSION in $conf we have to make sure we refresh it very often, in case the user upgrades IM. Maybe it would be better to simply store it in $_SESSION. We also need to know which version X supports sampling-factor (I don't know). Then we should only use this option if we know the version and if the version is superior to X. If you think we can do that we 100% reliability, OK for 2.4.1. Else I prefer to keep it for 2.4.2, when we'll have less problems related to image processing. |
|
(0006401) plg (manager) 2012.06.30 09:57 |
Another easy solution is to add in include/config_defaults: $conf['imagemagick_sampling'] = false; |
|
(0006402) svn (reporter) 2012.06.30 21:23 |
[Subversion] r16230 by rvelices on trunk -----[Subversion commit log]---------------------------------------------------- bug 2672: invalid option sampling-factor for old versions of ImageMagick (use it for new versions) |
|
(0006403) rvelices (developer) 2012.06.30 21:25 |
plg, ok with my commit ? (no need for session or config. I took 6.6 as a version because it works with 6.6.0-4) |
|
(0006404) plg (manager) 2012.06.30 21:54 |
I've just made a test with convert 6.3.7 and 6.5.7-8 and it also works. Your test seems very good! (and I made a visual test with/without sampling-factor and I don't see any difference in quality, but size is indeed lighter) |
|
(0006405) svn (reporter) 2012.07.01 06:18 |
[Subversion] r16242 by rvelices on branch 2.4 -----[Subversion commit log]---------------------------------------------------- bug 2672: invalid option sampling-factor for old versions of ImageMagick (use it for new versions) merge from trunk to branch 2.4 |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |