Benjamin Southall
b9d75cdf11
Moving imagecreatefrombmp to polyfill
5 years ago
czaks
300e9e7e71
fix some png images being discarded
9 years ago
8chan
6052ed8d3d
SECURITY: imagemagick/graphicsmagick was ignoring all errors
So, in a much older patch I had a problem where an incorrect RGB
profile would make image uploads fail. I fixed this by using strpos
against the error message...but didn't check the return value
correctly.
That means that any error from gm/im was ignored. This caused people
to upload too large images and flood /b/ with 1 x 10000 pixel images
My fault, patched now. Sorry about that.
Conflicts:
inc/image.php
10 years ago
czaks
7283c4caee
fix pngs better
10 years ago
czaks
c0d3a23574
actually fix png posting for some images not fully supported by gm/imagemagick
10 years ago
czaks
ede30d5eed
png resizing: depending on error messages with pngs is flawy
10 years ago
czaks
e88a0f02ec
inc/image.php: i18n
Conflicts:
inc/image.php
11 years ago
czaks
0264a5ca6d
inc/image.php: i18n
11 years ago
czaks
9a5f3b2e31
image resizing: fix a problem with some pngs; reported by urban
11 years ago
Michael Foster
7f0de93608
Cleaner check to make sure inc/ files aren't accessed directly.
11 years ago
Michael Foster
fcb88b16cd
Bugfix: Corrupt images were not getting removed from /tmp (convert, gm, and gifsicle)
11 years ago
czaks
c672b700b0
gifsicle: temporary fix; STI: gifsicle REALLY sends that to stderr for every gif shorter than 50 frames
11 years ago
czaks
73f53d3529
gifsicle: temporary fix; STI: gifsicle REALLY sends that to stderr for every gif shorter than 50 frames
11 years ago
Michael Foster
373fb99a7f
Bugfix: exif_read_data() Incorrect APP1 Exif Identifier Code
11 years ago
Michael Foster
acfda35648
gifsicle: redirect stdout to /dev/null but keep stderr going to stdout
11 years ago
czaks
a3cf56a768
gifsicle: make it finally work
11 years ago
czaks
7407593ec5
gifsicle: make it finally work
11 years ago
Michael Foster
33a07e9ee0
bug fix, wrong index
11 years ago
czaks
76101cad51
fix gifsicle issue connected with frame limit
11 years ago
czaks
3e4545d1b8
fix gifsicle issue connected with frame limit
11 years ago
Michael Foster
3d2de07a1f
Can't auto-orient a non-JPEG
11 years ago
Michael Foster
ac4306555b
Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient).
11 years ago
Michael Foster
b373b39f44
Bugfix: gm and auto-orient thumbnailing
11 years ago
Michael Foster
b67fc7d54e
Only use `identify` if we have to
11 years ago
Michael Foster
5300ffadf1
Better image processing. Add support for GraphicsMagick (a fork of ImageMagick) and `exiftool` (for stripping EXIF metadata quickly).
11 years ago
Michael Foster
784c3ffadb
Accidentally commit'd debug stuff/errors
11 years ago
Michael Foster
1d37e81ade
Better error handling/displaying with $config['debug'] and $config['verbose_errors']
11 years ago
Michael Foster
62f8ea4813
Better command-line ImageMagick image processing
11 years ago
Michael Foster
d99eba2c18
syntax error in last commit
11 years ago
Michael Foster
1d7de12281
Fix bug
11 years ago
Michael Foster
169dc74938
Fix last commit
11 years ago
Michael Foster
4fce9b63ae
Major config.php cleanup and a few minor misc fixes.
11 years ago
Michael Foster
40ab2e0c17
Don't redraw image again after correcting image orientation; Correct image orientation with convert+gifsicle too
11 years ago
Michael Foster
22f3a95e0e
convert+gifscale didn't respect $config['thumb_keep_animation_frames']
11 years ago
Michael Foster
4851d4cabe
Forgot "global $config" here
11 years ago
czaks
3d979750b1
fix merge
11 years ago
Michael Foster
573f86ccae
Tiny code clean-up
11 years ago
Marcin Łabanowski
73cb2bdf2c
convert+gifsicle: fix previous commit
12 years ago
Marcin Łabanowski
b7e725bf3e
Support for resizing gifs using gifsicle with resizing the rest using ImageMagick
12 years ago
Marcin Łabanowski
f9cdf31ede
Fix animated .gif conversion when $config['thumb_ext'] == ''
12 years ago
Michael Foster
308f557fd5
Option to automatically strip EXIF metadata from JPEGs
11 years ago
Michael Save
7a68fc9525
Copyright and license update for 2013.
12 years ago
Marcin Łabanowski
8daab99322
convert+gifsicle: fix previous commit
12 years ago
Marcin Łabanowski
5cea5ca16e
Support for resizing gifs using gifsicle with resizing the rest using ImageMagick
12 years ago
Marcin Łabanowski
0812799eb4
Fix animated .gif conversion when $config['thumb_ext'] == ''
12 years ago
Michael Save
913010cff5
minor consistency cleanup
12 years ago
Michael Save
38130cd113
Bugfix: Fix transparancy with `convert`
12 years ago
Michael Save
c360c7f673
Fix animated thumbnails with `convert` and Imagick
12 years ago
Michael Save
2de20b7e0a
Bugfix: Fix transparancy with `convert`
12 years ago
Michael Save
5c9fcfc50e
Bugfix: Fix transparancy with `convert`
12 years ago