34 Commits

Author SHA1 Message Date
Stephen Sykes
cef7cae610 Does gzip decompression if the server sends compressed files. Closes #42. 2014-12-05 14:13:58 +02:00
Stephen Sykes
2b531a801c Remove unused test image 2014-10-24 12:03:50 +03:00
Adam Panzer
18d0908eeb pr feedback 2014-10-22 08:40:24 -07:00
Adam Panzer
b7aa051e8f detect ico type 2014-10-21 21:42:26 -07:00
Stephen Sykes
8c2258a747 Added specific test for stringio 2014-10-07 10:25:56 +03:00
Stephen Sykes
79160a9963 Adds support for passing Pathnames in 2014-06-12 10:49:43 +03:00
Stephen Sykes
327a3b55cd Remove parsing of IFDs other than IFD0 in EXIF, IFD0 should have everything needed. Caused incorrect orientation in certain jpegs 2014-04-29 00:18:46 +03:00
Marc-Andre Lafortune
3bd07419d7 Support for PSD 2014-01-29 14:08:30 -05:00
Marc-Andre Lafortune
be4db4a6af Add failing test for a jpeg 2014-01-29 10:02:42 -05:00
Colin Mitchell
606dd34690 handle negative height bitmaps and ensure that we read in bmp dimensions as signed ints 2013-12-10 10:06:27 -05:00
Stephen Sykes
bad3608afd Use Addressable's inferred_port instead of port so that SSL works. Fixes #23 2013-11-14 10:01:32 +02:00
Stephen Sykes
151a770b87 Fixes #20 Unable to handle permanent redirection, for redirects that have relative urls 2013-09-19 19:20:43 +03:00
Stephen Sykes
63b97f7ef0 Fixes infinite loop with certain jpegs, adds test. Fixes #19. 2013-09-17 18:26:52 +03:00
Stephen Sykes
9069b53408 Merge branch 'master' of https://github.com/sdsykes/fastimage 2013-07-03 00:00:01 +03:00
Stephen Sykes
5ecaac4179 Take account of the exif orientation flag for tiff and jpegs that have it 2013-07-02 23:58:25 +03:00
Sebastian Ludwig
d3c748a74d Fixed exception when getting the properties of IO objects twice (by rewinding when done) 2013-05-23 15:36:17 +02:00
Stephen Sykes
bed58919a8 Adds tiff support, including rewrite of data fetch much improved using fibers 2013-05-08 16:34:19 +03:00
Stephen Sykes
4de45f60a6 Remove .rbenv-version, shouldn't be here 2013-04-18 15:42:43 +03:00
Stephen Sykes
93a8b313c2 Use proxy if it exists 2013-03-19 10:19:23 +02:00
Stephen Sykes
a25363e5bb Correctly break out of http fetches to ensure fast return 2013-03-07 09:26:29 +02:00
Stephen Sykes
34ce278d61 Handle up to 4 redirects in http fetch code, tests for it 2012-03-22 17:56:26 +02:00
Stephen Sykes
d007cb4df6 Adds reading from an IO object 2011-09-30 10:43:31 +03:00
Stephen Sykes
ab2efbf2ff Fix for bug where 0xff is followed by second 0xff in jpg 2010-11-11 01:29:22 +02:00
Stephen Sykes
7fb2e5787d Fix for files in local directories that have spaces in the names 2010-07-14 12:51:00 +03:00
sdsykes
7342bc58f0 Add changes omitted in last commit 2010-05-08 18:01:38 +03:00
sdsykes
c7a5c0dd7d Reset input string position to 0 after checking type, fixes bug with sizing certain jpegs 2010-05-08 17:57:18 +03:00
sdsykes
98df0ad1c1 Corrects test name 2010-02-23 10:50:40 +01:00
sdsykes
01d2005b4b Work around for ruby 1.8.7p248 bug in net/http 2010-02-23 10:46:58 +01:00
sdsykes
c9c01d2325 Update register_uri params for latest version of fakeweb 2010-02-16 11:17:39 +02:00
sdsykes
e72da589d6 Fix typo 2010-02-16 11:06:54 +02:00
sdsykes
bef531fb33 Change symbol for jpeg to :jpeg rather than :jpg so it can be used in a mime type string. 2009-09-16 17:49:31 +03:00
sdsykes
1ff23ae490 Fix bug causing exception when fetching type when raise_on_failure is set
Mod tests to catch that code path
2009-06-25 17:02:47 +03:00
sdsykes
da31ecf44d Add support for local files through open-uri
Some refactoring
Added tests for local files
Bump version to 1.1
2009-06-25 13:04:07 +03:00
sdsykes
c58397b854 Added tests 2009-06-11 12:17:34 +03:00