1429 Commits

Author SHA1 Message Date
Erlend Hamnaberg
2f06f2de6d Cleanup of AreaOfInterest
Conflicts:
	servlet/src/test/java/com/twelvemonkeys/servlet/image/ImageServletResponseImplTestCase.java
2012-09-26 11:47:53 +02:00
Erlend Hamnaberg
8137165bac Cleanup of AreaOfInterest
- Extracted AreaOfInterest into an interface
- Added an AreaOfInterestFactory.
- Use AreaOfInterestFactory in ImageServletResponseImpl
- fixed version

Conflicts:
	servlet/pom.xml
	servlet/src/test/java/com/twelvemonkeys/servlet/image/ImageServletResponseImplTestCase.java
2012-09-26 11:45:04 +02:00
Erlend Hamnaberg
3628f3b392 Cleanup of AreaOfInterest 2012-09-26 11:42:13 +02:00
Erlend Hamnaberg
be959ce3f3 Rule Of thirds:
- enable with system property
 - extracted AreaOfInterest into a separate class.

Conflicts:
	servlet/src/main/java/com/twelvemonkeys/servlet/image/ImageServletResponseImpl.java
	servlet/src/test/java/com/twelvemonkeys/servlet/image/ImageServletResponseImplTestCase.java
2012-09-26 11:40:42 +02:00
Shihab Uddin
d6e508662c Merge branch 'master' of https://github.com/haraldk/TwelveMonkeys 2012-09-26 11:17:30 +02:00
Harald Kuhr
7846f497af TMS: Moving old junk to sandbox. 2012-09-25 14:50:47 +02:00
Harald Kuhr
6c082353d6 TMI-22: Cleaned up reading of ICC profile, trying to be more lenient about chunk count/chunk index. 2012-06-22 09:57:02 +02:00
Harald Kuhr
92690e1644 TMI-TIFF: More format support, more lenient TIFF (EXIF) parsing. 2012-06-21 17:05:33 +02:00
Harald Kuhr
9ef8ac9930 Removed obsolete methods. 2012-06-21 16:59:04 +02:00
Harald Kuhr
7260c5baea Removed obsolete methods. 2012-06-21 16:58:33 +02:00
Harald Kuhr
381e229575 Added a comment. 2012-06-21 16:57:57 +02:00
Harald Kuhr
80d2f4ad89 Added test case.
Clean up + new methods.
2012-06-21 16:57:10 +02:00
Harald Kuhr
b0c2b4886f Added test case. No changes. 2012-06-21 16:56:25 +02:00
Harald Kuhr
14869fb591 Clean up: No functional changes. 2012-06-21 16:54:11 +02:00
Harald Kuhr
f7b7b91fba Updated sandbox pom. 2012-06-21 16:53:06 +02:00
Harald Kuhr
5c9a3e8e58 Added test case. Fixed some minor issues. 2012-06-21 16:52:30 +02:00
Harald Kuhr
2cbdd7fd82 Clean up: Moving obsolete stuff to sandbox. 2012-06-21 16:37:27 +02:00
Harald Kuhr
5bac1e3a2b Removed some synchronized keywords weirdness. 2012-06-21 16:36:25 +02:00
Harald Kuhr
0d83ab5483 Minor clean-up & doc changes. 2012-06-21 16:34:11 +02:00
Harald Kuhr
0aad4cb77a Clean up: Moved test code from main method to test case. 2012-06-21 16:29:04 +02:00
Harald Kuhr
73a880a358 TMI-23: Better handling of SOS segment (variable length). Now treats the rest of the stream after SOS as single segment. Not really ideal, but gives better performance than scanning for EOI... 2012-06-21 16:08:03 +02:00
Harald Kuhr
c2245a503d TMI-22: Changed IIOException to warning for images with single chunk ICC_PROFILE with bad index/count. 2012-06-21 16:03:59 +02:00
Harald Kuhr
75c09d3aef Now sets Vary header. Minor code clean up & fixes. 2012-06-21 10:55:14 +02:00
Harald Kuhr
4db12d313b Added init param annotation. 2012-06-21 10:50:45 +02:00
Harald Kuhr
3095422a44 Fixed code style. 2012-06-21 10:49:39 +02:00
Harald Kuhr
d84acbf4b3 A servlet for serving static files 2012-06-21 10:45:06 +02:00
Harald Kuhr
c7f6dedaa7 ContextListener for web app-local IIO providers. 2012-06-21 10:44:53 +02:00
Harald Kuhr
37e9adcfec Fixed a bug in the MappedFileBuffer + added test case for exposing the bug. 2012-06-01 14:42:48 +02:00
Harald Kuhr
7f2ad765cf TMI-XXX: Made the PSD XMP parser slightly more lenient. 2012-05-31 16:24:17 +02:00
Harald Kuhr
289be6ca12 TMI-TIFF: Added validation + tests for reading JPEG DQT needed for TIFF Compression JPEG. 2012-05-23 15:20:10 +02:00
Harald Kuhr
b8ff4af178 TMI-TIFF: Implemented workaround for a bug in ImageReader.getDestination() + added test case for ImageReaderBase. 2012-05-23 15:18:10 +02:00
Harald Kuhr
dd7be5ef11 TMI-TIFF: Added missing test resources. 2012-05-22 08:56:39 +02:00
Harald Kuhr
98361194ea TMI-TIFF: Initial commit. Major work in progress. :-) 2012-05-22 00:00:11 +02:00
Harald Kuhr
9492ed67f1 Minor enhancements to the Decoder API + tests. 2012-05-21 23:56:47 +02:00
Harald Kuhr
a4dfb7a009 TMI-21: Implemented getRawImageType and getImageTypes for CMYK/YCCK.
TMI-16: Refactorings, cleaner color space determination + tests for thumbnail readers.
2012-05-07 20:26:26 +02:00
Harald Kuhr
aaef2e4fad TMI-16: Clean-up of thumbnail reading. Removed obsolete code. 2012-05-02 11:59:14 +02:00
Harald Kuhr
241c1882f4 TMI-16: Refactorings. Moved segment classes to upper level. Extracted thumbnail reading to separate classes. 2012-04-24 20:11:04 +02:00
Harald Kuhr
ae87726974 Added test case. 2012-04-19 18:00:50 +02:00
Harald Kuhr
b9a1c5c2f4 TMI-20: Made the EXIFReader more lenient about bad directory entry count. 2012-04-19 17:53:28 +02:00
Harald Kuhr
7bcfd228b9 Documentation + fix for minor issue when quality could not be determined. 2012-04-19 17:51:19 +02:00
Harald Kuhr
465eb2ecb3 Removed a couple of todos (now done). 2012-04-17 12:28:27 +02:00
Harald Kuhr
0bdb68ea6f TMI-19: Fix for broken JFIF raw RGB thumbnails 2012-04-16 22:55:32 +02:00
Harald Kuhr
c16ffaca13 TMI-18: Fix for images/thumbnails get inverted colors. 2012-04-16 22:53:17 +02:00
Harald Kuhr
24db7e847c Added support for offset/length in ByteArrayImageInputStream. 2012-04-16 10:19:53 +02:00
Harald Kuhr
927723a472 Added support for offset/length in ByteArrayImageInputStream. 2012-04-16 10:19:15 +02:00
Harald Kuhr
2f07329296 TMI-18: Better filtering of APP segments, now only takes 'Exif' APP1 segments into account.
+ Updated failing test.
2012-04-15 22:10:20 +02:00
Harald Kuhr
08b5891298 TMI-18: Preliminary fix for images get inverted colors. 2012-04-13 10:56:26 +02:00
Harald Kuhr
f940fed152 Added test case for 1-bit/monochrome. 2012-04-04 16:02:17 +02:00
Harald Kuhr
da9b94bdf3 Added test case for 64 color EHB (finally).
Rewrote EHB handling in CMAPChunk to fix bug.
Added test cases for 16 color indexed and 32 color indexed.
Removed obsolete test cases.
2012-04-03 16:58:04 +02:00
Harald Kuhr
bf4ad6265a Implemented huffman decompression and "big line" changes for PCHG chunk. 2012-04-03 16:55:46 +02:00