322 Commits

Author SHA1 Message Date
Sam Saffron
6478cd33ac
bump version to 2.2.6 v2.2.6 2021-12-16 11:21:35 +11:00
Sam
abd8059bd9
Merge pull request #135 from stefanoverna/avif-format
Add support for AVIF format
2021-12-16 11:17:38 +11:00
Stefano Verna
1a3e525c1d Add support for AVIF format 2021-12-15 14:52:24 +01:00
Sam Saffron
a1131d15bb
Bump version and introduce version file v2.2.5 2021-08-10 12:57:31 +10:00
Sam
f6559105f1
Merge pull request #131 from stefanoverna/fix-heic-rotation-angle
Use irot box to get HEIC/HEIF rotation angle
2021-08-09 15:31:46 +10:00
Stefano Verna
6025bd8819 Use irot box to get HEIC/HEIF rotation angle 2021-08-06 15:56:06 +02:00
Sam Saffron
4bdc514249
Changelog and version bump
Add a CHANGELOG to track changed to the library (only covering changes from
2.2.3 for now)

Add bundle/gem_tasks to make publishing the gem easier

Bump version to 2.2.4
v2.2.4
2021-06-02 16:39:46 +10:00
Stephen Sykes
f0ea7da025
Merge pull request #126 from jbrw/master
Identify SVG files that start with a BOM character
2021-04-19 08:54:01 +03:00
Jamie Wilson
5dd8301141
Identify SVG files that start with a BOM character 2021-04-13 18:07:59 -04:00
Stephen Sykes
31ea417d8e
Merge pull request #125 from stefanoverna/heic-format
Add support for HEIC format
2021-04-05 14:59:30 +01:00
Stefano Verna
50b1631ae9 Prefer if modifier to postfix or condition 2021-03-15 08:48:47 +01:00
Stefano Verna
cd3ee0a624 Compat: %i[] is not available on Ruby 1.9 2021-03-03 12:37:13 +01:00
Stefano Verna
f2efc8c6c9 Compat: #unpack1 is not available on older Ruby versions 2021-03-03 09:25:34 +01:00
Stefano Verna
9baee6d1b3 Add FastImage::SUPPORTED_IMAGE_TYPES
Returns all the image formats FastImage is capable to recognize
2021-03-02 16:41:11 +01:00
Stefano Verna
58dcc3072f HEIC/HEIF format detection 2021-03-02 15:07:12 +01:00
Stephen Sykes
9a1400ebcc Bump version v2.2.3 2021-02-28 17:08:39 +02:00
Stephen Sykes
e72139ae17
Merge pull request #124 from stefanoverna/pr_svg
Identify svg files that start with white spaces
2021-02-28 16:52:42 +02:00
Fabrizio Monti
fcf871e637 Identify svg files that start with white spaces 2021-02-16 10:26:31 +01:00
Stephen Sykes
a440798854 Bump patch version v2.2.2 2021-01-30 19:23:34 +02:00
Stephen Sykes
e8ad2254e8 Test with Ruby 3 2021-01-30 15:42:00 +02:00
Stephen Sykes
98dcf9e491 Ignore pesky ds store files 2021-01-30 15:40:35 +02:00
Stephen Sykes
fd3b5f2c4c
Merge pull request #123 from Nakilon/master
force_encoding was called on Net::ReadAdapter when url is webmocked
fixes #121
2021-01-30 13:02:48 +02:00
Stephen Sykes
ddf9f25cef
Merge pull request #122 from nbianca/fix_gif
Fix GIF global color table flag check
2021-01-30 13:01:45 +02:00
Victor Maslov
437318220b force_encoding was called on Net::ReadAdapter when url is webmocked 2021-01-30 12:41:27 +03:00
Bianca Nenciu
e4c35d951e
Add an animated GIF without a global color table 2021-01-27 22:03:06 +02:00
Bianca Nenciu
c78578c097
Fix GIF global color table flag check
Zero is a truthy value, which is a problem when checking flags.
2021-01-21 17:20:51 +02:00
Stephen Sykes
c183bb833d bump version v2.2.1 2020-12-23 09:49:32 +02:00
Stephen Sykes
cb3a8cbeeb
Merge pull request #120 from ky1vstar/master
Add reference to Dart package
2020-11-06 08:06:56 +02:00
Aleksandr Zhuhan
fcf1704595
Update README.textile 2020-11-04 14:49:06 +02:00
Stephen Sykes
c93903eb5c
Merge pull request #119 from nbianca/master
Use frames count instead of delay to check animated GIFs
2020-11-03 16:55:08 +02:00
Bianca Nenciu
f1628c1539
Use frames count instead of delay to check animated GIFs
There are GIFs with multiple frames and zero delay, but also GIFs with
a single frame and positive delay. The old algorithm failed for this
kind of images.
2020-11-02 20:25:15 +02:00
Stephen Sykes
e4c198a02c Bump version v2.2.0 2020-07-23 11:31:21 +03:00
Stephen Sykes
c57b07dc85
Merge pull request #117 from PikachuEXE/replace-deprecated-method-usage
Replace deprecated method usage
2020-07-23 11:23:04 +03:00
PikachuEXE
0d4dd4a7ed * Test with 2.7 too 2020-07-23 15:22:29 +08:00
PikachuEXE
172b674a40 * Replace URI.escape with ::URI::DEFAULT_PARSER.escape
Similar code change
https://github.com/mongodb/mongo-ruby-driver/pull/1614/files
2020-07-23 15:22:29 +08:00
Stephen Sykes
099c5e4233
Merge pull request #116 from PikachuEXE/fix-incorrect-redirect-response-handling
Fix handling of redirect response without Location header
2020-06-22 06:59:01 +03:00
PikachuEXE
45521bfd3e Fix handling of redirect response without Location header 2020-06-18 11:56:03 +08:00
Stephen Sykes
8386e11db4 Update url for large image to https 2020-06-14 12:02:16 +03:00
Stephen Sykes
b58af86658 Fix returning nil if image type not gif for animated 2020-06-14 11:54:55 +03:00
Stephen Sykes
967737b844
Merge pull request #114 from nbianca/master
Add API to check if a GIF is animated
2020-06-14 11:39:32 +03:00
Bianca Nenciu
df31108b00 Add check for animated GIFs 2020-06-12 15:00:26 +03:00
Stephen Sykes
41088a55b6 Revert rake requirement since we still support ruby 1.9.2 2020-06-02 22:54:59 +03:00
Stephen Sykes
2decef3e02
Merge pull request #115 from gschlager/master
Avoid detecting arbitrary XML as SVG
2020-06-02 22:40:36 +03:00
Stephen Sykes
12a7dc4268 Update rake 2020-06-02 22:38:22 +03:00
Gerhard Schlager
2e0436c58f Avoid detecting arbitrary XML as SVG 2020-05-26 16:53:50 +02:00
Stephen Sykes
bad902712c
Merge pull request #111 from aried3r/ar/travis_update
Update Ruby 1.9-2.6
2019-10-24 18:19:02 +03:00
Anton Rieder
0d7ef4a548
Update Ruby 1.9-2.6 2019-10-24 15:06:58 +02:00
Stephen Sykes
021e5d3eb3
Merge pull request #110 from aried3r/patch-2
Use SVG Travis CI badge
2019-10-23 16:22:06 +03:00
Anton Rieder
692a1058a0
Use SVG Travis CI badge 2019-10-23 14:50:04 +02:00
Stephen Sykes
d1e49be9fc Bump version again v2.1.7 2019-09-05 22:54:40 +03:00