Commit Graph

45 Commits

Author SHA1 Message Date
RushLana
66df209632 Change graphic library priority, ext_imagemick is now preffered 2025-08-12 17:06:26 +02:00
Linty
3133552405 fixes #2220 change scope of function get_resize_result
also changed the required php version to 7.1.0
2024-09-02 18:23:52 +02:00
plegall
1000ae868e fixes #2118 add config setting animated_webp_compression_quality (default=70) 2024-02-19 17:17:36 +01:00
plegall
fa3625a607 issue #223 support for WebP
* after PR#1785 we needed some more changes
* support for animated webP
2023-09-11 17:15:35 +02:00
Phlogi
79e91e3296 Support webp format (#1785)
* consider webP as an input and output format, meaning a derivative from webp is still a webp
2023-09-11 17:10:52 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Philippe Juillerat
ebe4caf124 fixing #467 and correcting image sharpening on PHP 7.0 with GD 2016-04-23 00:07:30 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
mistic100
271e1f5688 feature 3221 Lazy log file open, clean code
git-svn-id: http://piwigo.org/svn/trunk@31103 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 17:06:47 +00:00
plegall
2125efc8ca bug 3134: hide warnings on exif_read_data to avoid breaking HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@29392 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-03 16:59:15 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
62212c97bd external imagick fix watermark issue if the watermark is larger than target derivative (the width/height of image object did not reflect applied resize/crop)
git-svn-id: http://piwigo.org/svn/trunk@28199 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-16 05:15:16 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
plegall
b6329cb062 merge r17003 from branch 2.4 to trunk
bug 2705 (related to): if rotate function is called with a 0 (zero) angle,
like plugin RotateImage may do, ExtIM fails with the same error
"convert: invalid argument for option `-rotate': -orient"



git-svn-id: http://piwigo.org/svn/trunk@17004 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 10:32:34 +00:00
plegall
e23052b963 merge r16934 from branch 2.4 to trunk
bug 2705 fixed: if the rotation is "0", no rotation is needed, we skip the
rotate function which behaves badly (in ExtIM) with a zero degree rotation.



git-svn-id: http://piwigo.org/svn/trunk@16936 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 13:52:32 +00:00
rvelices
f8ba24a777 bug 2672: invalid option sampling-factor for old versions of ImageMagick (use it for new versions)
git-svn-id: http://piwigo.org/svn/trunk@16230 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-30 19:23:43 +00:00
plegall
60c264d6dc merge r16210 from branch 2.4 to trunk
bug 2672: deactivate sampling-factor (for now)



git-svn-id: http://piwigo.org/svn/trunk@16211 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 22:24:24 +00:00
mistic100
51c02b0af9 check if ilog() exists before using it, allowing the use the class outer i.php
git-svn-id: http://piwigo.org/svn/trunk@16146 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-28 18:45:51 +00:00
rvelices
9d42cbed3d correctly log errors when external imagick fails
git-svn-id: http://piwigo.org/svn/trunk@16076 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-27 04:19:38 +00:00
patdenice
3d7971d640 bug:2647
Test 1and1 server with $_SERVER['SCRIPT_FILENAME']

git-svn-id: http://piwigo.org/svn/trunk@15583 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 10:48:57 +00:00
patdenice
acb3e717fc bug:2647
External ImageMagick does not work anymore on 1and1 servers

git-svn-id: http://piwigo.org/svn/trunk@15575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 15:38:56 +00:00
rvelices
34e6f1aa49 multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor
git-svn-id: http://piwigo.org/svn/trunk@15551 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05 18:06:53 +00:00
rvelices
c8827c24a4 multi size external imagemagick use 4:2:2 chroma subsampling as imagick extension (reduce file size by 20-30% with "almost" no human perception)
git-svn-id: http://piwigo.org/svn/trunk@14723 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-03 18:07:51 +00:00
rvelices
40a4dd63f0 multi size:
- fix external imagick issues when rotation was required
- fix: derivative were generated continuosly until a first save performed in the admin screen
- added sharpen param in the new config screen
- increased the sharpen range (10% is less than before)

git-svn-id: http://piwigo.org/svn/trunk@14649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-02 04:29:56 +00:00
plegall
c137a52c15 coding guidelines: indentation is made of spaces, not tabs
git-svn-id: http://piwigo.org/svn/trunk@13882 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03 20:58:14 +00:00
plegall
2ec7183adb feature 2604: support rotation on derivatives
git-svn-id: http://piwigo.org/svn/trunk@13843 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-01 00:02:36 +00:00
rvelices
9d66c18541 - small js fixes on index/picture
- i.php does not use derivatives.dat file anymore (obsolete file)
- better selection of derivatives in picture.php
- larger sharpen real range in image.class.php

git-svn-id: http://piwigo.org/svn/trunk@13736 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-26 04:07:03 +00:00
rvelices
cb2a1f0d99 - 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

git-svn-id: http://piwigo.org/svn/trunk@13426 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-28 21:18:03 +00:00
rvelices
a1833e40a2 improvement of picture title on picture page, drop boxes on index page ...
sharpening uses a zider scale range 

git-svn-id: http://piwigo.org/svn/trunk@13115 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-12 10:02:59 +00:00
rvelices
8d86e7b399 multisize
- watermarks loaded also from local dir
- fix/simplify algo for cropping
- imagick use scaleImage (fast) before resizeImage (slow) if the original is a lot bigger than the requested size

git-svn-id: http://piwigo.org/svn/trunk@13035 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-05 14:58:14 +00:00
rvelices
ae80086a26 feature 2548 multisize - watermark for imagick extension
git-svn-id: http://piwigo.org/svn/trunk@12956 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24 21:50:47 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
rvelices
225b45f2b8 feature 2548 multisize - added a page to build missing derivatives
- browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow

git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-08 19:25:52 +00:00
rvelices
e64ab974df feature 2548 multisize - sharpen + watermarks (partially implemented / no test with imagick extension)
git-svn-id: http://piwigo.org/svn/trunk@12851 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05 21:35:25 +00:00
patdenice
b3ce83e9cb bug:2537
Thumbnail creation may crash on some servers

git-svn-id: http://piwigo.org/svn/trunk@12756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 17:45:49 +00:00
patdenice
1ea0155ad7 bug:2535
Image is not cropped and ressized if requested size is bigger than image size.

git-svn-id: http://piwigo.org/svn/trunk@12749 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 17:00:06 +00:00
patdenice
bbe62b64c0 bug:2496
Imagick library (class version) is not detected properly on some servers 

git-svn-id: http://piwigo.org/svn/trunk@12581 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-07 15:34:08 +00:00
patdenice
5c452b8084 bug:2479
External ImageMagick library is not properly detected

git-svn-id: http://piwigo.org/svn/trunk@12493 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-19 13:05:26 +00:00
plegall
25522edae8 convert to UNIX file type
git-svn-id: http://piwigo.org/svn/trunk@11964 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:13:53 +00:00
patdenice
a2b9024d92 feature:2284
Improve external image magick

git-svn-id: http://piwigo.org/svn/trunk@11044 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 10:02:24 +00:00
patdenice
62d5bcd749 feature:2284
Avoid error when spaces are present in dirname.

git-svn-id: http://piwigo.org/svn/trunk@10713 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-01 10:10:45 +00:00
patdenice
0db141fc62 feature:2259
Create two different methods in webservice to create/regenerate thumbnail and to regenerate websize.

git-svn-id: http://piwigo.org/svn/trunk@10686 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:38:59 +00:00
patdenice
90825d08ea feature:2284
Rename $conf['image_library'] into $conf['graphics_library']
Display library used in admin intro page.

git-svn-id: http://piwigo.org/svn/trunk@10684 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:10:00 +00:00
patdenice
d95ddb7c61 feature:2284
Create a class to manipulate images.

git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27 17:03:25 +00:00