forked from cmarmo/iipsrv-astro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1307 lines (874 loc) · 41.3 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
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
unnecesary 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 unneccesary 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 reponse 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.
04/11/2009:
- Added FILESYSTEM_PREFIX environment variable to allow a fixed prefix to
be applied to all image paths. Embedded NULL bytes of the form %00 and
any "../" are also now stripped out of any path for security reasons.
(Thanks to Willem Hengeveld for suggesting this)
01/11/2009:
- Fixes to View.h and View.cc to set the requested size to the maximum
allowable if not WID or HEI is set for the CVT command. The correct
resolution to use for CVT is now calculated for views smaller than
the smallest available.
30/10/2009:
- Security fixes to Task.cc to make sure while loop is limited to the
expected number of arguments. (Thanks to Willem Hengeveld for pointing
this out).
19/08/2009:
- Minor updates to IIPImage.h and IIPImage.cc. FIF.cc also now tests
for upper/lowercase .tif and .tiff suffixes.
14/08/2009:
- Modification to View.cc and CVT.cc to calculate the appropriate
resolution as the smallest resolution with a dimension greater size
than the requested dimensions. The WID and HEI directives now
effectively give bounding dimensions.
11/08/2009:
- Added simple nearest neighbour resampling to CVT command to allow it to
resize to the exact dimensions and not just the nearest available pyramid
resolution.
- CVT Content-disposition tag now gives the image filename allowing the user
to save the image directly with this.
01/07/2009:
- Added quality layer parameter to images for future use with file formats
such as JPEG2000 that support this. This allows the decoding of several
quality layers via the LYR command. Modifications to the RawTile API
as well as IIPImage::getTile resulting in a series of changes to
CVT.cc, JTL.CC, TIL.cc, TPTImage.cc, View.h, Main.cc and Environment.h.
New startup configuration "LAYERS" to set the default number of layers.
Default is 1 otherwise.
22/06/2009:
- Changes to Zoomify.cc to take into account the fact that Zoomify expects
a fixed number of resolution levels.
15/04/2009:
- Added a flag for padded tiles into RawTile.h. TIFF's are padded out
to the tile size, but other formats may not be. Changes to TPTImage,
TileManager and CVT to handle this.
- Also changed the RawTile flag for memory managed tiles.
18/03/2009:
- Added modification timestamps to the IIPImage and Rawtile classes.
The TileManager now checks whether the tile is fresh and reloads it
if necessary.
11/03/2009:
- Several changes to JTL.cc and Cache.h to eliminate a memory leak. Also
replaced malloc/free in Rawtile with new/delete.
04/03/2009:
- Minor changes to IIPResponse.cc to elimate type warnings.
06/06/2008:
- Modifed the way the image dimensions are stored in the IIPImage class.
Rather than simply storing the max size, a vector of available dimensions
is saved making it easier to get the size for a given resolution.
05/06/2008:
- Added Zoomify support via the Zoomify=/path.tif request. Works with both
the official flash client and the Zoomify patched OpenLayers javascript
client. Work carried out thanks to R&D grant DC08P02OUK006 - Old Maps
Online (www.oldmapsonline.org) from Ministry of Culture of the Czech Republic.
09/08/2007:
- Added a Bits-per-channel OBJ request so that viewers can determine whether
to perform contrast adjustment server-side or client-side.
07/08/2007:
- Added CIELAB conversion and contrast handling to JTL so that it can handle
16 bit images.
12/06/2007:
- Updated URL decoding function in FIF.cc to C++ style and avoid a potential
buffer overflow.
- Changed Task::run arguments to be const std::string& instead of just std::string.
08/06/2007:
- Changed JTL headers to enable HTTP 1.1 compatible cache control.
13/12/2006: Version 0.9.7 Released
07/11/2006:
- Fixed the standalone mode, which is now activated by launching with
--standalone with an argument giving the socket port or path. For example,
localhost:8000 or /tmp/iipsrv.sock.
31/10/2006:
- Added hillshading Task class and function for simulated raking light
visualization using 3D surface normal data. This is used via the SHD
command in association with CVT, which takes 2 arguments: the horizontal
light source angle in degrees and the vertical angle from the horizontal
plane.
26/09/2006:
- Cleaned up the hash_map and pool_allocator stuff a little to use typedefs
instead of #ifdefs.
- Added the legacy JTLS command class for panoramic views.
22/09/2006:
- Added an FCGI stand-alone mode usable with lighttpd's spawn-fcgi command.
- Also changed the IIPImage cache to use a hash_map and pool_alloc memory.
19/09/2006:
- If we are using appropriate versions of g++, we now use the high
performance pool_alloc memory allocators for our cache containers.
Also, instead of a std::map, we use the hash_map extension which
offers better performance. Otherwise we default to std::map.
- Fixed problem in TileManager where uncompressed tiles in the cache
were not being cropped when converted to JPEG. The IIPImage tile_width
and tile_height fields now hold the base tile size and not the current
tile size.
18/092006:
- Added a "Last-Modified" and "ETag" header to the CVT HTTP response
to prevent double requests from being made by web browsers.
- Fixed bug in CVT where the tile size was being incorrectly set from
the IIPImage object and not the tile itself, which was a problem
when getting tiles from the cache.
15/09/2006:
- Changed the Cache keys to be simple strings rather than custom
objects. This has solved one of the crashing problems when tiles
are deleted from the cache.
29/08/2006:
- Added Writer class to shield the command implentations from any
FCGI specific functions.
28/08/2006:
- *Major* refactoring of the code. Each command is now called via its own
Task class (command pattern), with no processing done in Main.cc.
OBJ commands are in OBJ.cc and each output command (eg TIL,CVT etc)
now have their own classes.
- The xangle and yangle variables are now in the View class, which
was previously named the ImageTransform class.
25/08/2006:
- Cleaned up the option variable parsing in Main.cc. It is now mostly
done via an Environment class, which checks for defaults etc.
16/08/2006:
- Moved QLT limit checking from Main into JPEG class. Also now check
for empty strings.
08/08/2006:
- Changed the contrast adjustment code to limit the result to a max of
255.0 as this was creating problems with the windows build.
07/03/2006: Version 0.9.6 release.
13/02/2006:
- Fixed another problem on Mac OS X in TPTImage.cc. The number of
channels and bits per sample were giving strange values, so a
temporary uint16 variable is now used and cast from. It now works
perfectly on Mac :-)
09/02/2006:
- Changed the start_t and start_u types in Timer.h to long for
compatibility with Solaris and Mac OS X.
- Some code cleanups in the IIPResponse class.
23/01/2006:
- Added an extra timer for tile insertion - this is the slowest
cache operation. We should look to put this in a separate
thread at some point!
18/01/2006:
- Added support for ptif suffix images. These are in fact just
pyramidal TIFF images.
11/01/2006:
- More fixes to the TileManager class. Cache can now handle
multiple compression types for the same tile simultaneously.
24/12/2005:
- Major rewrite of the TileManager class. Now much more concise.
21/10/2005:
- Added a check in JPEGCompressor for the number of channels.
JPEG can handle only image with either 1 or 3 channels.
13/10/2005:
- Added a TileManager class to act as a higher level access to
the tile cache. It checks whether a JPEG compressed tile
already exists and if not decodes one from the source image.
It also crops any edge tiles to the correct size (required
for the new Vips TIFF format).
12/10/2005:
- Fixed a JTL problem with the new tiled TIFF format. The edge
tiles are now cropped before being sent out.
- Reworked JTL to just forward the request to JTLS rather than
duplicating the code there.
09/06/2005:
- Changed IIPImage.cc to use glob conditionally if glob has been
detected. This is needed for mingw compilation.
01/04/2005:
- Completed an LRU tile cache with the ability to set the max
cache size via the configuration variable MAX_IMAGE_CACHE_SIZE,
specified in MB.
22/03/2005:
- Added new Timer class to handle timing data to debug tile
access, command and total request times.
06/01/2005:
- Found problem in the CVT code when dealing with image sequences
of different numbers of channels. We have to reload the channel
information.
15/12/2004:
- CVT now works with the new standard compliant TIFF tile format
as used by vips-7.10 and later.
10/12/2004:
- CVT now works with 16 bit TIFF. The compression type reported
by TIL also switches from JPEG with 8 bit images to none with
16 bit.
08/12/2004:
- Added CNT contrast command support. Also added check to
TPTImage openImage() for whether our image is in fact
tiled or not, which can cause the server to crash.
07/12/2004:
- Added 16 bit support. Changes to RawTile - the data is now
a generic (void*) and there are now fields for channels per
sample and bits per channel. Changes also to TPTImage.cc,
Main.cc and JPEGCompressor.cc.
01/09/2004:
- Changed the LAB2sRGB code to allow a/b values from
+-127 as per the TIFF spec instead +-100.
- Also fixed a problem caused by signed/unsigned comparisons
in ImageTransform with requests for CVT sizes smaller than
the tile size.
26/08/2004:
- Added largefile support by simply adding a configure
directive that will add the appropriate defines.
05/07/2004:
- Fixed problem in JPEGCompressor.cc concerning the value of
a structure that we try to read after de-allocating memory.
Only seems to be a problem with MSVC++ compiler. (Thanks to
Chris Tuijn for spotting this).
11/05/2004: Version 0.9.5 release.
04/05/2004:
- Moved the colorspace check from TPTImage::getTile to
TPTImage::openImage so that a Colorspace request will always
have an associated colour space and not just after getTile
has been called. We assume for now that all the tiles of an
image are all of the same colour space.
21/05/2004:
- Removed no-cache pragma from CVT header. Also modified
max_CVT variable to limit the effective size and not the
total image size. ie a small RGN of a massive image can
still be sent OK. The resolution calculations have been
moved into ImageTransform and is now performed at the last
moment in the CVT section.