1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-26 00:10:55 +01:00
Commit Graph

64 Commits

Author SHA1 Message Date
czaks
5cb8a2ce68 fix pngs better 2014-02-22 15:54:46 +01:00
czaks
81e2dda2f7 actually fix png posting for some images not fully supported by gm/imagemagick 2014-02-22 15:47:29 +01:00
czaks
e617dc99e2 png resizing: depending on error messages with pngs is flawy 2014-02-10 23:44:20 +01:00
czaks
94bb2bbc26 inc/image.php: i18n 2014-01-04 19:26:44 +01:00
czaks
4aa6e607f8 image resizing: fix a problem with some pngs; reported by urban 2014-01-04 19:09:30 +01:00
Michael Foster
8143ad1a0b Cleaner check to make sure inc/ files aren't accessed directly. 2013-09-06 20:12:04 +10:00
Michael Foster
ef7930f94e Bugfix: Corrupt images were not getting removed from /tmp (convert, gm, and gifsicle) 2013-08-28 17:20:29 +10:00
czaks
65453f2889 gifsicle: temporary fix; STI: gifsicle REALLY sends that to stderr for every gif shorter than 50 frames 2013-08-11 21:04:20 +10:00
Michael Foster
7044ec8ace Bugfix: exif_read_data() Incorrect APP1 Exif Identifier Code 2013-08-04 23:02:15 -04:00
Michael Foster
9935fb3024 gifsicle: redirect stdout to /dev/null but keep stderr going to stdout 2013-08-04 16:32:36 -04:00
czaks
a696e35d52 gifsicle: make it finally work 2013-08-04 16:27:58 -04:00
Michael Foster
50eec97b66 bug fix, wrong index 2013-08-04 05:11:46 -04:00
czaks
4a437b650b fix gifsicle issue connected with frame limit 2013-08-04 04:49:47 -04:00
Michael Foster
f99a7305f4 Can't auto-orient a non-JPEG 2013-08-03 22:20:39 -04:00
Michael Foster
6bd6faa57d Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
Michael Foster
593f8757f2 Bugfix: gm and auto-orient thumbnailing 2013-08-03 21:47:24 -04:00
Michael Foster
7211d9c069 Only use identify if we have to 2013-08-03 20:50:37 -04:00
Michael Foster
67da80e354 Better image processing. Add support for GraphicsMagick (a fork of ImageMagick) and exiftool (for stripping EXIF metadata quickly). 2013-08-03 20:34:59 -04:00
Michael Foster
ab7c9cf69c Accidentally commit'd debug stuff/errors 2013-08-03 00:28:54 -04:00
Michael Foster
3a0ed6fad3 Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
c6499dacce Better command-line ImageMagick image processing 2013-08-02 23:18:25 -04:00
Michael Foster
bcea4904d5 syntax error in last commit 2013-08-02 21:37:44 -04:00
Michael Foster
37dd4c09f4 Fix bug 2013-08-02 21:23:18 -04:00
Michael Foster
7a28b09d8b Fix last commit 2013-08-02 20:56:30 -04:00
Michael Foster
d59e74f394 Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
Michael Foster
d71f49c801 Don't redraw image again after correcting image orientation; Correct image orientation with convert+gifsicle too 2013-08-01 21:28:16 -04:00
Michael Foster
ce1e206797 convert+gifscale didn't respect $config['thumb_keep_animation_frames'] 2013-08-01 04:24:34 -04:00
Michael Foster
cf373037bd Forgot "global $config" here 2013-08-01 03:51:50 -04:00
Michael Foster
42bbbb037f Tiny code clean-up 2013-07-31 03:35:07 -04:00
Marcin Łabanowski
140e34324d convert+gifsicle: fix previous commit 2013-07-31 03:33:12 -04:00
Marcin Łabanowski
4263bb7dd8 Support for resizing gifs using gifsicle with resizing the rest using ImageMagick 2013-07-31 03:33:06 -04:00
Marcin Łabanowski
e1a5dbbcc2 Fix animated .gif conversion when $config['thumb_ext'] == '' 2013-07-31 03:32:44 -04:00
Michael Foster
f798bb5209 Option to automatically strip EXIF metadata from JPEGs 2013-07-21 15:50:45 -04:00
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Michael Save
69b3c28a5d minor consistency cleanup 2012-08-27 21:50:15 +10:00
Michael Save
00deca0a16 Bugfix: Fix transparancy with convert 2012-04-19 10:27:47 +10:00
Michael Save
ad11a85282 Fix animated thumbnails with convert and Imagick 2012-04-18 00:07:37 +10:00
Michael Save
17a56af9a7 code cleanup 2012-04-13 00:18:19 +10:00
Michael Save
b4bafb2297 better anti-bot check 2012-04-12 17:20:49 +10:00
Michael Save
c98a8afc1d large cleanup 2012-04-12 02:49:22 +10:00
Michael Save
bf78900dda Better upload handling (don't move file before handling it) 2012-03-18 19:53:56 +11:00
Michael Save
99f86da203 convert: Suppress warnings when trying to delete temporary file. 2012-03-18 00:57:11 +11:00
Michael Save
2e1086e63d convert: Don't rely on PHP GD to get the image dimensions; use identify. 2012-03-17 22:49:56 +11:00
Michael Save
b6c2f91461 Better thumbnailing with convert. 2012-03-17 22:28:23 +11:00
Michael Save
54bb943a77 convert: chmod(664) after moving temporary image 2012-03-17 12:02:51 +11:00
Michael Save
e3e942a1c6 Thumbnail the first frame only. 2012-03-17 11:55:16 +11:00
Michael Save
95d8a70db8 Thumbnailing alternative: convert (command line ImageMagick instead of PHP bindings) 2012-03-17 10:32:50 +11:00
Michael Save
7e58efaf1a Animated thumbnails fix 2012-03-17 08:29:46 +11:00
Michael Save
a4cacf53dd Don't animate thumbnails when impossible. 2012-03-14 22:11:07 +11:00
Michael Save
1f5a75d56c detect lowercase GIFs 2012-03-13 03:48:12 +11:00