forked from ruven/iipsrv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
1640 lines (1073 loc) · 50.6 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
04/07/2019:
- Updated homepage URLs.
- Forced Content-type for error messages to client text/plain to avoid
potential XSS issues.
24/03/2016: Version 1.1 Released
20/06/2019:
- Documentation updates for doxygen
13/06/2019:
- Re-factored to display Logger output type availability at configure stage.
- SIGHUP signal now empties internal caches rather than terminates iipsrv.
12/06/2019:
- Fix to avoid unnecessary conversion to binary when image already binary.
- Update to OpenJPEG code to fix problem when re-using codec structures
more than once in the same request (for example when calculating histogram).
11/06/2019:
- Fixes to eliminate Coverity static scan analysis warnings.
- New rewritten OpenJPEG module: now faster, cleaner and correctly
handles ICC profiles, bilevel and 16 bit images. Now activated by
default if OpenJPEG library found and Kakadu not requested.
13/05/2019:
- Update to configure.ac to change AC_CHECK_FILE for Kakadu sources to
AS_IF to properly enable cross builds. Patched thanks to Helmut Grohne.
23/02/2019:
- Added test for resolutions that may be untiled within a tiled TIFF.
01/04/2019:
- Added Logger class, which replaces the previous raw ofstream. The class
includes functionality to output log to syslog on UNIX-type systems.
Pass "syslog" to the LOGFILE startup environment variable to use syslog.
- Minor code changes for Windows MSVC compilation
19/03/2019:
- Small increase in temporary buffer size in OBJ.cc colorspace() function
to avoid truncation warning in GCC 8.2
13/03/2019:
- Fixed bug in vertical mirroring transformation
- Minor change to IIIF square parsing to allow correct logging
25/02/2019:
- Added check for overly large XMP sizes in JPEGCompressor.cc
20/02/2019:
- Fixed rounding error in getViewWidth() / getViewHeight() which was causing
certain IIIF requests to be handled by CVT rather than JTL. See:
https://github.com/ruven/iipsrv/issues/148#issuecomment-453125005
- Adding missing default initialization for kdu_readmode variable.
15/02/2019:
- Changed exit code after signal handling for clean shutdown when iipsrv used
with systemd.
15/01/2019:
- Added "bitonal" to list of available qualities in the IIIF info.json file and
replaced use of pow with a faster bitwise shift.
09/01/2019:
- Added ability to do contrast stretching and histogram equalization via extensions
to the CNT command (CNT=EQ and CNT=ST respectively). Also added new IIP command to
enable color space conversion to greyscale or binary (aka bi-level or bitonal) via
the COL command (COL=grey or COL=binary). Image histogram is calculated once when
needed and saved in the image cache.
21/12/2018:
- Added fix for rounding error in CVT.cc to avoid garbled last lines in region
requests for very large images.
30/11/2018:
- Added maxWidth and maxHeight IIIF API 2.1 directives to info.json.
13/11/2018:
- Converted RawTile dataLength variable to unsigned to improve overflow
avoidance as per https://github.com/ruven/iipsrv/pull/156
- Added Visual Studio version check to round() implementation in
windows/Time.cc as now supported in recent versions.
12/11/2018:
- Refactored image procesing code. Transform functions are now encapsulated
within a struct to allow new processing engines to be more easily added.
- Cleanup to Environment.h to remove redundant comparison as readmode is
declared unsigned and can never be less than 0.
05/11/2018:
- Added codecOptions list to Session class for setting options for the encoders
or decoders. Added KDU_READMODE environment variable for setting the Kakadu
read-mode in KakaduImage.cc. Options are 0 (fast), 1 (fussy) or 2 (resilient).
23/07/2018:
- Fixed incorrect big endian TIFF file signature.
27/04/2018:
- Updates to Windows build files: removed Kakadu dependencies.
- Added version check for snprintf Windows redefinition as this is now
supported in recent versions of Visual Studio.
18/12/2017:
- Added missing snprintf definition for Windows in JPEGCompressor.h
14/12/2017:
- Added the "max" parameter for the size section to the IIIF parser ahead of
deprecation in IIIF version 3.0: http://iiif.io/api/image/2.1/#size
- Fixed some spelling mistakes in various files - thanks to Stefan Weil
13/12/2017:
- Update to configure.ac to fix compilation with Kakadu 7.10
28/11/2017:
- Modified bilinear interpolation code to avoid risk of unallocated buffer
reads at edges and to use replicated pixels.
26/11/2017:
- Removed exception specifications from the IIPImage and Compressor class
declarations as well as from their derived classes. Dynamic exception
specifications are deprecated in C++11 onwards. See for rationale and details:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3051.html
25/11/2017:
- Added missing RED, GREEN and BLUE colormap implementations to Transforms.cc
24/11/2017:
- Added input validation for SPECTRA, PFL and MINMAX commands to avoid
possible access to unmapped memory - thanks to John Heasman at DocuSign.
17/11/2017:
- Added a check to KakaduImage.cc for zero-sized regions
04/10/2017:
- Set an upper size limit to ICC profiles accepted for embedding
04/08/2017:
- Increased JPEG buffer size to handle large markers such as XMP metadata.
- XMP metadata size now reported in CVT.cc.
14/07/2017:
- Added Compressor class from which JPEGCompressor is now derived.
Abstracting this will enable easier integration of PNG output.
Output format now specified in View class.
06/07/2017:
- Enabled CORS for error responses.
05/07/2017:
- Added "Access-Control-Allow-Headers" field if CORS has been set to
fix CORS Ajax problems with js libraries such as JQuery, Mootools.
02/07/2017:
- Added OpenMP threading info to startup in Main.cc.
30/06/2017:
- Added ICC profile embedding support in JPEGCompressor for both JTL
and CVT commands using an implementation based on IJG's iccjpeg.
TPTImage and KakaduImage now extract the profile into the metadata map.
Added also new EMBED_ICC environment variable to allow user to disable
embedding. Thanks to Dave Beaudet for initial implementation.
- Refactored XMP metadata handling within JPEG.
23/06/2017:
- Added new OBJ metadata request for IIP protocol to return full list
of existing image resolutions.
19/06/2017:
- Modified URI_MAP to parse this prefix first and only if not present,
to use the query string. This allows query strings to be appended for
caching purposes etc.
14/06/2017:
- Added URI_MAP environment variable to enable mapping of URL prefixes
to specific protocol handlers without requiring web server rewriting.
- Added missing checkImage() function to JTL and harmonized with CVT.cc.
12/06/2017:
- Added try block to avoid crashes with malformed images in older
versions of Kakadu.
05/04/2017:
- Fixed crash in KakaduImage.cc when zero sized images are requested
29/03/2017:
- Fixed scaling factor for bilinear interpolation in Transforms.cc
02/03/2017:
- Added extra conditions to JTL uncompressed tile request and slightly
refactored code to fix bug when greyscale conversion requested
08/02/2017:
- Extra try/catch in KakaduImage for images with missing codestreams
29/11/2016:
- Another update to IIIF aspect ratio code
28/11/2016:
- Update to aspect ratio code for sizes exceeding max CVT limit
18/11/2016:
- Modified IIIF.cc to respect aspect ratio when only width or height size
parameter is given and size exceeds server max CVT limit.
16/10/2016:
- Added IIIF 2.1 square region support
29/08/2016:
- Fix to bug in rotation code for 270 degs introduced when parallelization added.
- Added test for pkg-config to configure.ac script.
10/08/2016:
- Update to configure.ac script for OpenJPEG
04/08/2016:
- Fix to info.json code in IIIF.cc to avoid problems with images containing only
one resolution level.
- Fixed bug in filter_contrast() due to incorrectly calculated buffer size.
08/07/2016:
- Removed "gray" from IIIF list of supported features - already specified in the
qualities list.
07/06/2016:
- Added fix for API change in get_colour_mapping() function in Kakadu version 7.8
02/06/2016:
- Type change of counter in filter_contrast to long to avoid overflows with large
image exports.
22/03/2016: Version 1.0 Released
08/03/2016:
- Added sizes field to IIIF JSON responses giving list of exportable pyramid sizes
smaller than MAX_CVT.
29/02/2016:
- Added support for 1 bit bilevel TIFF
11/02/2016:
- Added backlog parameter support for command line use through --backlog parameter.
- Fixed several more Coverity scan warnings.
29/01/2016:
- Minor update to IIPImage.cc to reduce risk of race condition in stat -> fopen calls
28/01/2016:
- Added ifdefs to Transform.cc to enforce either ivdep for icc or openmp for gcc
15/01/2016:
- Fixed a series of minor issues identified by Coverity scan
12/01/2016:
- Added check to JPEGCompressor to reject images that are not 8 bits per channel
- Added new floatProcessing() function to View.h to simplify code in JTL and CVT
06/01/2016:
- Added extra parameter check for incoherent region sizes for IIIF protocol
21/12/2015:
- Fixed infinite loop in View::calculateResolution if requested size = 0. Set
minimum output size to 1px.
07/09/2015:
- Fixed isfinite autoconf macro in acinclude.m4 to force float type
06/08/2015:
- Added timestamp check and metadata reload for images that have been modified
- Added X-Powered-By header as a number of web servers strip out the Server header
03/08/2015:
- Added palette support for bilevel images to handle cases where LUTs are inverted
27/07/2015:
- Modified ROT command to accept horizontal flipping through "!" prefix as with IIIF.
- Cosmetic improvement to FIF logging.
- Modified TPTImage to disable use of memory mapping when opening images as this seems
to be slower when opening very large TIFFs.
24/07/2015:
- Added timers to all image processing functions in CVT.cc + code cleanup.
21/07/2015:
- Fixed error in View.cc when setting regions sizes that extend beyond image boundaries:
regions now cropped to boundaries.
20/07/2015:
- More OpenMP parallelization and cleanups to Transform.cc
17/07/2015:
- Increased buffer memory for JPEG encoding to handle certain images or tiles that
encode at Q=100 to sizes significantly larger than the raw data.
- Added new CACHE_CONTROL server parameter to allow user control over this. If not
set, it defaults to the previous default value of "max-age=86400".
- More image processing routines now parallelized with OpenMP: bilinear interpolation,
for example, now parallelized and considerably faster.
19/03/2015:
- Fix to KakaduImage.cc to check for increases in stripe heights and make sure
sufficient memory is allocated.
13/02/2015:
- Added checks for NULL FCGX_GetParam results and to empty HTTP_IF_MODIFIED_SINCE.
See: https://github.com/ruven/iipsrv/issues/33 - thanks to Brian Helba.
12/02/2015:
- Fixed @id decoding in IIIF.cc for paths containing slashes
19/01/2015:
- Added missing <cctype> include in URL.h and replaced pow(2.0,x) with bit shifting in
KakaduImage.cc and View.cc. Now compiles cleanly with VisualStudio Express.
- Added extra OpenMP parallel declarations to Transform.cc and autoconf directive to
enable OpenMP by default.
09/01/2015:
- Better logging for exceptions in Main.cc
27/11/2014:
- Added new magic identifier for BigTIFF images to IIPImage.cc
25/11/2014:
- Fix of rounding error problem in View.cc for calculating resolution level.
- Fix to IIIF.cc to properly handle resolution 0 requests.
24/11/2014:
- Fix to TileManager.cc to properly calculate tile height for final row.
- Updates to IIIF code to ensure tiles are properly detected.
- Changes to View class to calculate regions from full resolution image.
24/10/2014:
- Updated MINMAX command syntax in Task.cc to channel:min,max
22/10/2014:
- Updated KakaduImage.cc to use Kakadu namespaces in version 7.5 and greater.
05/09/2014:
- Updated IIIF info.json output to be compliant with changed IIIF 2.0 specification.
03/09/2014:
- Fix to IIPImage.cc for file type detection for multispectral sequences.
22/08/2014:
- Fix to properly read 12 bit JP2 files.
- KakaduImage's virtual_levels counter moved into IIPImage class.
- Modification to properly read number of components in multi-band JPEG2000 images.
21/08/2014:
- Fixes to allow compilation on older versions of gcc.
20/08/2014:
- Cleanup to IIIF code and some cosmetic improvements to generated JSON.
- Added string escape function to URL class and moved all environment variable access to
Main.cc.
19/08/2014:
- Added aspect ratio flag in View.h for use in CVT.cc. Also cleaned up Main.cc to remove
unnecessary logging and record extra http headers.
- Added IIIF protocol version 2.0 support via the IIIF argument.
13/08/2014:
- The rotate filter only ever operates on 8bit data, so remove if else type statements from
function - increases average function speed by about around 15%.
- Added missing URL.h to src/Makefile.am.
- Refactored JTL into 2 separate functions: run (parses arguments) & send (performs tile
request, processing and sending). Allows this to be re-used in other functions, such as
Zoomify.cc etc.
- Refactored CVT similarly to JTL with now a separate send() function.
11/08/2014:
- Renamed variable bpp in IIPImage and its derived classes to bpc (bits per channel),
which is more logical and how we have named things elsewhere.
- Modification to TileManager, which was requesting more tiles than necessary for regions.
- Changes to View.cc to make WID and HEI requests with region exports produce images with a
*final* size of that requested by WID or HEI. For example RGN=0.1,0.1,0.5,0.5&WID=500 will
now produce an image of 500px in width rather than extract the region from an image of size
500px wide. CVT also cleaned up.
06/08/2014:
- Updated exception handling to use std::invalid_argument and a new derived file_error
exception within the IIPImage and derived classes. Allows better distinguishing between
HTTP status errors.
- Moved URL decoding code from FIF.cc to separate URL class in URL.h.
05/08/2014:
- Added flip function to Transforms.
- Modified JTL, DeepZoom, Zoomify and CVT to avoid float conversion if not required.
- Converted bilinear and nearest neighbour resize code to unsigned char to avoid
unnecessary conversion to float.
30/07/2014:
- Moved CTW processing function to before gamma function in JTL.cc and CVT.cc.
- Added missing function comments and minor layout changes in Transform.cc and FIF.cc.
24/07/2014:
- Simplified the use of hash_map types and removed the customized hash function, which
was causing our image metadata cache to work incorrectly. Removed the const prefix from
all hash maps keys.
20/07/2014:
- Min Max values are now read as vectors in multiple channel images - thanks to Chiara Marmo.
19/07/2014:
- Added support for magic byte signature file format detection instead of relying on
the file path suffix. Images can now be named arbitrarily (though suffixes still used
for sequences). Format enum types added to IIPImage class.
18/07/2014:
- Fix for unusual JPEG2000 "sRGB" bilevel images.
20/03/2014:
- Fixed signed/unsigned comparison compiler warning in Task.cc.
16/03/2014:
- Added back missing <algorithm> include to Task.cc.
12/03/2014:
- Added ability to handle multi-band (>3 channel) images and added new CTW color twist
command that takes a matrix that is applied to each channel in the image.
- Cleanup of and more comprehensive timing output within JTL.cc.
08/03/2014:
- Changes to resizing algorithms to enable expansions as well as shrink for all views
and regions.
- Added CORS (Cross Origin Resource Sharing) support via CORS environment variable for
(AJAX) metadata requests.
24/02/2014:
- Added missing function timer to JTL.cc and increased output precision in PFL.cc to 9.
24/01/2014:
- Changes to IIPImage and KakaduImage constructors to force correct initialization of
the tile size.
- Added missing std::isinfinite function for Windows Visual Studio compilation.
17/01/2013:
- Fix to rotation code to have array indices run fully down to zero when counting down.
Thanks to Michal Becak for spotting this.
06/12/2013:
- Minor fixes to PFL.cc to add extra error checking and eliminate compiler warnings.
05/12/2013:
- Another update to use the ISO C++11 version of unordered_map if available. Plus a bunch
of compiler warning clean-ups.
04/12/2013:
- Updated hash map definitions to try to use unordered_map if available and fall back to
hash_map or map. Now done more cleanly using autoconf detection.
02/12/2013:
- Changes to IIPImage, TPTImage and KakaduImage class contstructors to use more efficient
member initializer lists, which are also necessary for compilation with clang compiler.
25/11/2013:
- Bug on red/green/blue colormaps fixed. Adding colormap inversion function (Chiara Marmo).
22/10/2013:
- Bittype compatibility has been completely reviewed. After normalization all processing
is done in float (Chiara Marmo).
07/09/2013:
- Modified PFL to handle single points as well as profiles. Thus syntax for single
points: PFL=<resolution>:<x>,<y> and for profiles PFL=<resolution>:<x1>,<y1>-<x2>,<y2>
03/09/2013:
- Updated PFL command to also handle multi-spectral data.
02/09/2013:
- Modified PFL command to use JSON and implemented vertical profiles.
28/08/2013:
- Added PFL command for obtaining raw X profiles of data. Syntax
is <resolution>:<x1>,<y1>-<x2>,<y2>. Only horizontal profiles are supported so far.
23/08/2013:
- Fix to OpenMP code in Transform.cc for compatibility with Intel compiler - thanks
Emmanuel Bertin.
- Addition of extra timing output in JTL.cc
06/08/2013:
- Moved setenv/unsetenv function definitions to Main.cc where they are now needed following
movement of timezone setting code there.
31/07/2013:
- Fix to JTL.cc and TPTImage.cc for multispectral sequences consisting of images of
different bit depths.
23/07/2013:
- Fix to KakaduImage.cc to enable correct handling of bilevel images.
- Fix to quality layer decoding - variables moved directly into IIPImage class
- Scaling of 8 and 16 bit spectral data to normalized 0.0->1.0 float in SPECTRA.cc
08/07/2013:
- Fix to configure.in for libmemcached configuration problem on Fedora.
02/07/2013:
- Optimizations to FIF.cc. Unnecessary file header reading is now avoided as top
level IIPImage class cache fully utilized. Cleanup of constructor code of IIPImage,
TPTImage and KakaduImage code. Significant speed up to requests of cached images.
- Modification to if_modified_since code in FIF.cc, to avoid repeatedly resetting the
timezone environment variable to UTC when checking timestamps, which is a relatively
slow process. This is now set once globally in Main.cc and set back on main exit.
12/06/2013:
- Extra checks for malformed images in KakaduImage.cc.
11/04/2013:
- Several fixes to Kakadu.cc. To force resolution levels to be floor(x/2) rather than the default
ceil(x/2) to match how TIFF resolutions are created. Also modification to force 16 bit
JPEG2000 to unsigned output. And also fix to strip alpha channels from images.
14/03/2013:
- Fix to gamma conversion - thanks Chiara Marmo
- Update to greyscale conversion code
09/03/2013:
- Updated copyright message in header to new Free Software Foundation address.
08/03/2013:
- Added greyscale conversion support via new filter_greyscale transform function.
23/02/2013:
- Gamma correction fixed, minmax commands added, colormap commands added (Chiara Marmo)
30/01/2013:
- Fix to prevent crashing on malformed JPEG2000 files.
11/12/2012:
- Changed FLOAT enum type to FLOATINGPOINT to avoid VC++ compiler error.
- Implemented 16 and 32bit versions of interpolation functions.
10/12/2012:
- Cleanup to 32 bit code
- New command to set dynamically the min and max for 32 bit float
- Addition of rotation function for 90,180,270 degree rotations
- Fixes to autoconf
30/10/2012:
- Autoconf cleanup. Removed unnecessary autoconf files: should now use
autogen.sh script first before ./configure
18/10/2012:
- Fix to imageCache delete in FIF.cc - thanks to Michal Becak.
16/10/2012:
- Added support for TIFF 32 bit integer and float.
- Fixed 16 bit JPEG2000 support.
- Added 1 bit support for TIFF.
- Added gamma support via GAM command.
- Thanks to Chiara Marmo for initial implementation.
09/09/2012:
- TIFF metadata fixes.
25/08/2012:
- Windows compilation fixes by Michal Becak.
13/08/2012:
- Detect JPEG YCbCr encoding in TIFF and request conversion to RGB
by libtiff. Tile _TIFFmalloc() now only occurs in getTile().
16/07/2012:
- Added check to KakaduImage.cc to handle bilevel images.
- Clean up to use only floats and floorf() in Transforms.cc.
14/05/2012:
- Added bilinear interpolation option for CVT resizing. Added
INTERPOLATION parameter to Environment.h, which takes an integer.
0 for fastest nearest neighbour and 1 for bilinear (default).
Current bilinear implementation 2.5x slower than nearest neighbour.
- Additional fix to MAX_LAYERS code.
11/05/2012:
- Modified layer handling to decode all available layers if
MAX_LAYERS parameter is set to -1.
08/05/2012:
- Fix to Mac OSX and FreeBSD compilation of KakaduImage.cc.
07/05/2012:
- Fixed strip height calculation error in CVT.cc
01/05/2012:
- Modified memory handling in JPEGCompressor.cc to better handle
images where the compressed version may be bigger than the
original (for example at very high quality levels).
- Changes to CVT.cc to work with new JPEGCompressor code and removal
of chunked encoding header directive from CVT.cc.
- Fixed bug in CVT when specifying both WID and HEI.
- Fixed compiler warning in IIPResponse.cc.
- Added man page.
- Added missing definition of get_nprocs() function to Kakadu.cc
for Mac OSX and FreeBSD.
20/04/2012:
- Fixed memory overun error in filter_contrast in Transforms.cc.
18/04/2012:
- Major rewrite of CVT code to unify TIFF and JPEG2000 region
export. Region compositing now in TileManager->getRegion with
modified getRegion Kakadu function. Changes also to View class
and ColourTransforms code to enable greater modularity for
image processing to regions. ColourTransforms renamed to
Transforms.
Thanks to The National Library of Wales, who will be using
iipsrv & iipmooviewer to deliver their Historic Newspapers
in 2012.
21/03/2012:
- Fix to TPTImage.c to force RGB conversion for YCbCr compressed
JPEG TIFFs, which is now the default in VIPS. Thanks to John
Cupitt for spotting this.
17/03/2012:
- Changes to View.[h,cc] to make sure getRequestWidth and Height
return correctly rounded values.
12/03/2012:
- Added HTTP Status: 400 Bad Request to error messages.
28/01/2012:
- Fixes to KakaduImage.cc to properly catch exceptions during file
opening and a check for existence during codestream shutdown.
- Also added a check to updateTimeStamp to throw an exception if file
unreadable.
28/08/2011:
- Performance improvement to JPEG2000 16->8 bit downsampling. Now
using integer arithmetic rather than float.
24/08/2011:
- Updates to configure.in, FIF.cc and DeepZoom.cc to check for and
handle missing setenv, unsetenv and log2 functions. Fixes problem
on Solaris 10.
02/08/2011:
- Changed timegm function in FIF.cc to use more cross-platform POSIX
mktime function instead. Fixes compilation error on Solaris.
22/07/2011:
- Added 16bit and CIELAB support for JPEG2000.
- Other minor cleanups.
24/05/2011:
- Fix added to DeepZoom.cc as FreeBSD does not have the log2 function.
Thanks to Andrew Hankinson for spotting this.
23/05/2011:
- Another fix to ensure the max layers variable is correctly used in
Zoomify and DeepZoom output.
15/04/2011: Version 0.9.9 Released
15/04/2011:
- Fix to View.h to properly take into account max layers variable.
14/04/2011:
- Minor logging update to Zoomify.cc.
13/04/2011:
- Updated VC++ project files.
- Minor changes to logging in Main.cc.
- Updated autoconf files.
08/04/2011:
- Change to TileManager.cc to take into account whether a tile is padded
or not when applying a watermark.
06/04/2011:
- Changes to allow compilation on Windows with Visual C++ Express 2010.
New windows subfolder with missing time definitions and VC solution file.
Fixes also include definition of snprintf, log2 and S_ISREG, which are
all missing in Windows. Many thanks to Rob "Bubba" Hines for his help in
porting.
21/03/2011:
- Added extra NULL assignment to Task pointer after catch block to avoid
problems with uninitialized memory being deleted.
- Added SIGINT handler for Ctrl-C interruptions with strsignal() to
display a more meaningful message.
17/03/2011:
- Clean-up of signed/unsigned variables in IIPImage.h and KakaduImage.h.
15/03/2011:
- Added sanity check for requested resolutions and tiles in JTL.cc.
- Fixed problem with edge tiles and watermarking.
- Clean-up of error message in TPTImage.cc.
14/03/2011:
- Fixed problem with standalone mode. Can now bind to an FCGI socket by
running iipsrv on the command line with the argument --bind.
For example: ./iipsrv.fcgi --bind localhost:9000
- Fixed memory problem reported by valgrind with 16bit images.
Now simply use memcpy instead of re-assigning memory blocks. Changes to
JTL.cc, DeepZoom.cc and Zoomify.cc.
- Added extra buffer overhead during JPEG compression.
- Minor fixes to buffer copy code in Writer.h.
- Fixed memory leak in Memcached code - need to explicitly free returned
objects!
01/12/2010:
- Modified Main.cc to not check in Memcached if there has been a
If-Modified-Since parameter sent and to not store 304 or error replies.
Otherwise we risk to send 304 replies to requests from uncached browsers.
25/11/2010:
- Removed final CRLF from JTL, Zoomify and DeepZoom requests, which causes
problems with http pipelining in firefox.
24/11/2010:
- Added extra checks to both TPTImage and KakaduImage for whether the
requested resolution exists.
- Added ability to KakaduImage to downsize resolutions that were not generated
during encoding.
- Added decompressor.finish() to catch block as finish crashes if called after
thread environment shut down.
18/11/2010:
- Fixed problem when clipping when applying watermarks for both 8 and 16 bit images.
15/11/2010:
- Added memcached support via libmemcached. List of servers passed via
MEMCACHED_SERVERS environment variable. Length of time the cache
remains valid set by optional MEMCACHED_TIMEOUT environment variable
(default is 3600 seconds). Storage is at output level, rather than tile
level, so is complementary to internal tile cache.
Thanks to Moravian Library in Brno (Moravska zemska knihovna v Brne,
http://www.mzk.cz/) R&D grant MK00009494301 & Old Maps Online
(http://www.oldmapsonline.org/) from the Ministry of Culture
of the Czech Republic.
06/11/2010:
- Modification to Cache.h to use string::capacity() function instead of length()
to determine space used by string.
31/10/2010:
- Added simple watermarking support via Watermark class. New environment
variables added for the watermark image, the opacity and probability.
Changes mainly to the TileManager and Session class. Watermarking happens
transparently within the TileManager class for all tiles. Thanks to
Moravian Library in Brno (Moravska zemska knihovna v Brne, http://www.mzk.cz/)
R&D grant MK00009494301 & Old Maps Online (http://www.oldmapsonline.org/)
from the Ministry of Culture of the Czech Republic.
15/09/2010:
- Modified IIPImage.cc to enable handling of images with spectral band
indices with mixtures of 3 or 4 digits. For example, H1_pyr_000_090.tif
and H1_pyr_2500_090.tif.
05/03/2010:
- Another fix to JPEGCompressor.cc to fix a crash with very small
tiles with libjpeg-8.
23/02/2010:
- Modified JPEGCompressor.cc to fix compatibility problem with
libjpeg version 8. Simply removed jpeg_write_tables from
InitCompression function.
09/02/2010:
- Fixed memory leak in Zoomify.cc and DeepZoom.cc
11/01/2010:
- JPEG2000 support added via the Kakadu SDK. Added new class
KakaduImage derived from the IIPImage class. JPEG2000 support
added thanks to Moravian Library in Brno (Moravska zemska knihovna
v Brne, http://www.mzk.cz/) R&D grant MK00009494301 & Old Maps Online
(http://www.oldmapsonline.org/) from the Ministry of Culture of
the Czech Republic.
- Fix to string literal warnings in Writer.h
08/01/2010:
- Major changes to the HTTP headers sent by iipsrv. Added
HTTP Server id and Last-Modified timestamps to all server output.
Checks are now made for a If-Modified-Since response and a
304 Not Modified response returned if the timestamps match.
This should significantly improve server performance.
04/01/2010:
- Fixed bug in FIF.cc - the file system prefix was not being
initialized for each new image.
- Layers environment variable changed to MAX_LAYERS to represent
the maximum number of layers user is allowed to decode.
03/12/2009: Version 0.9.8 Released
02/12/2009:
- Adding missing include to IIPImage.cc for compilation with
gcc 4.4.1
01/12/2009:
- Added DeepZoom protocol support. Work carried out thanks to
Moravian Library in Brno (Moravska zemska knihovna v Brne,
http://www.mzk.cz/) R&D grant MK00009494301 & Old Maps Online
(http://www.oldmapsonline.org/) from the Ministry of Culture of
the Czech Republic.
29/11/2009:
- Added SPECTRA.cc class for returning spectral reflectance values
from multispectral images.
- Fix to IIPImage.cc to properly count the number of horizontal and
vertical angles (used for multispectral bands).
26/11/2009:
- Fix to View class to take resampling into account when limiting
the CVT output size to the maximum server setting.
17/11/2009:
- Update to Zoomify to fix way it calculates number of zoom levels.
05/11/2009:
- Updated the autoconf, aclocal, automake and libtool scripts to the
latest versions.