forked from kstep/graphicsmagick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog.2004
1491 lines (1001 loc) · 53.3 KB
/
ChangeLog.2004
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
2004-12-29 Bob Friesenhahn <[email protected]>
* magick/image.c (DescribeImage): Add normalized channel
statistics to output.
* NEWS: Updated with changes since July.
* magick/constitute.c (ImportImagePixelArea): For GrayQuantum,
GrayInvertedQuantum, GrayAlphaQuantum, and
GrayInvertedAlphaQuantum, observe image storage_class so that a
gray DirectClass image may be created.
* coders/tiff.c (ReadTIFFImage): Fix overflow when computing
colormap size for bits-per-sample of 32.
(WriteTIFFImage): Support writing 32-bit RGB(A) for
QuantumDepth=32 build.
(ReadTIFFImage): Support reading 32-bit RGB(A) for QuantumDepth=32
build. Support reading 32-bit grayscale without any quality loss
for QuantumDepth=32 build.
2004-12-28 Bob Friesenhahn <[email protected]>
* coders/tiff.c (WriteTIFFImage): TrueColor 16-bits/sample RGB
images were being written incorrectly on little-endian CPUs.
Added byte swapping to fix this problem.
2004-12-26 Bob Friesenhahn <[email protected]>
* magick/operator.c: New file for quantum operator implementation.
(QuantumOperatorImage): Moved from image.c.
(QuantumOperatorRegionImage): Moved from from image.c.
2004-12-22 Ralf Wildenhues <[email protected]>
* magick/Makefile.am (MAGICK_BASE_SRCS): Remove mention of
non-existent mmath.h.
* configure.ac: AC_LIBTOOL_SETUP is an internal macro and must not
be used externally (will be pulled in automatically).
* PerlMagick/Makefile.am: Missing file needed to be committed to CVS.
* tests/Makefile.am (TESTS_TIFF_XFAIL_TESTS): EPT and PTIF tests
are expected to fail if libtiff is missing.
2004-12-21 Bob Friesenhahn <[email protected]>
* TODO.txt: Organized todo list for 1.2 release.
2004-12-20 Bob Friesenhahn <[email protected]>
* coders/bmp.c (WriteBMPImage): Handle the case where the image
has an over-sized colormap. Was writing on unallocated heap memory.
* coders/dib.c (WriteDIBImage): Handle the case where the image
has an over-sized colormap. Was writing on unallocated heap memory.
2004-12-19 Bob Friesenhahn <[email protected]>
* magick/gem.c (Modulate): Hue argument now represents a rotation
from -180 degrees to +180 degrees expressed as an argument of 0 to
2.0 (1.0 for no change). Note that this change also effects the
-modulate argument and the Magick++ modulate method(). This change
is made because the previous hue adjustment strategy only
succeeded in corrupting the image.
2004-12-04 Bob Friesenhahn <[email protected]>
* magick/nt_base.c (opendir): Ensure that data may not overwrite
the stack.
(readdir): Ensure that data may not overwrite the stack.
* magick/blob.c (ImageToBlob): Ensure that image->logging is
set prior to encoding image.
* magick/constitute.c (WriteImage): Ensure that image->logging is
set prior to encoding image.
2004-11-30 Bob Friesenhahn <[email protected]>
* rungm.sh.in: Compute final variable definitions from within
configure in order to improve MinGW test execution times.
2004-11-15 Bob Friesenhahn <[email protected]>
* coders/gif.c: Fix two error-path memory leaks which were noticed
by Glenn Randers-Pehrson.
2004-11-10 Bob Friesenhahn <[email protected]>
* coders/png.c (UnregisterPNGImage): Eliminate Warning: module
registration for "JNG" from module "PNG" still present!
2004-11-08 Bob Friesenhahn <[email protected]>
* magick/constitute.c (DispatchImage): Fix documentation error
regarding return status.
2004-11-07 Bob Friesenhahn <[email protected]>
* magick/nt_base.h: Only define HAVE_GLOBALMEMORYSTATUSEX for MSVC
7.0 and later.
2004-11-07 Bob Friesenhahn <[email protected]>
* coders/tiff.c (WriteTIFFImage): Ensure that words in the
scanline are converted to little-endian format on little-endian
CPUs.
2004-11-06 Bob Friesenhahn <[email protected]>
* magick/utility.c (MagickStrlCat): New function which is
equivalent to to OpenBSD's strlcat() function. Concatenates one
string onto another within a fixed size buffer while ensuring null
termination.
(MagickStrlCpy): New function which is equivalent to OpenBSD's
strlcpy() function. Copies a string into a fixed size buffer
while ensuring null termination.
* coders/gif.c (DecodeImage): Improve handling of corrupt GIF
files. Resolves SourceForge bug #1042904. Also, eliminate a
potential memory leak.
* magick/constitute.c (WriteImages): ImageInfo argument is now a
const pointer.
2004-10-26 Glenn Randers-Pehrson <[email protected]>
* magick/render.c (TracePath): Applied bugfix from Cristy.
2004-10-09 Bob Friesenhahn <[email protected]>
* magick/resource.c (InitializeMagickResources): Use
GlobalMemoryStatusEx if it is available.
* magick/nt_base.c (lt_dlopen): Handle errors while loading
modules rather than allow Windows to display a GUI dialog box.
(NTKernelAPISupported): New function to support testing to see if
a Windows kernel API is supported.
* magick/constitute.c (ExportImagePixelArea): Add special-case for
bilevel gray image in order to restore performance.
(ImportImagePixelArea): Add special-case for bilevel gray image in
order to restore performance.
* coders/jpeg.c (ReadJPEGImage): Fix GCC warning about variable
being clobbered by longjmp.
* Re-port build to MinGW. Modules build passes all tests.
* Skip build and install of modules if a key library is not available.
* Partial recode of metadata handling to use Get/Set profile
functions. Big job!
* GCC warnings reduction.
* Remove MVG detection from magic.mgk due to security risk.
2004-09-19 Bob Friesenhahn <[email protected]>
* coders/tiff.c (WriteTIFFImage): Properly detect and handle
errors reported by libtiff so that failure is reported rather than
writing a corrupted output file.
(WriteNewsProfile): Re-write so implementation is easier to
understand.
2004-09-14 Bob Friesenhahn <[email protected]>
* coders/tiff.c: Don't use deprecated tiff.h _SUPPORT defines.
Support retrieving and saving XMP profile. Use profile set/get
methods in implementation.
* coders/mat.c,coders/topol.c (ReadBlobWordLSB,ReadBlobDoublesLSB):
Use better variable name than `I` for image.
2004-09-07 Bob Friesenhahn <[email protected]>
* coders/miff.c (WriteMIFFImage): Ensure that MIFF files are never
written with bogus compression values.
* magick/image.h: Protected/hid constants which only exist to
support the library implementation.
* tests/Makefile.am (TESTS_X11_XFAIL_TESTS): Fixed syntax error.
* Makefile.am: Use one Makefile to rule them all as described in
Peter Miller's excellent paper, Recursive Make Considered Harmful,
"http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html".
Some glitches may remain.
* coders/tiff.c (TIFFErrors): Prevent possible stack overflow on
error.
(TIFFWarnings): Prevent possible stack overflow on error.
* magick/constitute.c (ImportImagePixelArea): For RGBQuantum
initialize the opacity channel since it is easier than altering
all code to properly access it.
2004-09-02 Glenn Randers-Pehrson <[email protected]>
* magick/transform.c: Bugfix from Cristy in CoalesceImages().
2004-08-26 Glenn Randers-Pehrson <[email protected]>
* Avoid error introduced in libpng-1.2.6 that causes the encoder
to write out-of-spec zlib header bytes.
2004-08-24 Glenn Randers-Pehrson <[email protected]>
* coders/bmp.c is said to have a potential buffer overrun.
Patch from Cristy applied (also to avi.c and dib.c).
2004-08-23 Bob Friesenhahn <[email protected]>
* coders/tiff.c (WriteTIFFImage): Use ExportImagePixelArea to
write grayscale and colormapped output.
* magick/constitute.c (ImportImagePixelArea): Implemented support
for GrayInvertedQuantum & GrayInvertedAlphaQuantum.
(ExportImagePixelArea): Implemented support for
GrayInvertedQuantum & GrayInvertedAlphaQuantum.
* magick/constitute.h (enum QuantumType): Added
GrayInvertedQuantum & GrayInvertedAlphaQuantum to support
min-is-white gray images.
2004-08-22 Bob Friesenhahn <[email protected]>
* PerlMagick/t/tiff/write.t: Adjusted file naming.
* PerlMagick/t/tiff/read.t: Added more tests.
* coders/tiff.c (ReadTIFFImage): Use ImportImagePixelArea to read
PseudoClass tiff.
(WriteTIFFImage): Allow user to set the bits-per-sample define to
any value in the range of 1 to 32.
(ReadTIFFImage): Fix endian-reordering for DirectClass read and
bits-per-sample values ranging 9-15.
* coders/rgb.c: Support reading & writing 32-bit depths for raw
RGB images.
* coders/cmyk.c: Support reading & writing 32-bit depths for raw CMYK
images.
* coders/gray.c: Support reading & writing 32-bit depths for raw gray
images.
* magick/deprecate.c (PopImagePixels): Deprecated function.
(PushImagePixels): Deprecated function.
* magick/constitute.c (ExportImagePixelArea): New function to
export pixel region using specified QuantumType and
bits-per-sample.
(ImportImagePixelArea): New function to import pixel region using
specified QuantumType and bits-per-sample.
2004-08-14 Bob Friesenhahn <[email protected]>
* magick/cache.c (ClonePixelCache): It appeared that cloning a
disk-based pixel cache was limited to the maximum value of
size_t. This would result in a truncated cache. The offset type
is changed from size_t to magick_off_t in order to avoid this.
* configure.ac: Check to see if the `char` type is unsigned,
mostly out of curiosity since the code does not currently make use
of the result.
* Fixed many compilation warnings when the compiler warning level
is set as high as possible.
* configure.ac: Check /usr/share/ghostscript/fonts for Ghostscript Type1
fonts.
2004-08-13 Glenn Randers-Pehrson <[email protected]>
* tEXt and zTXt were inadvertently included in list of unused chunks.
2004-08-09 Glenn Randers-Pehrson <[email protected]>
* fix incorrect argument to png_set_keep_unknown_chunks().
2004-08-07 David R. Linn <[email protected]>
* www/formats.html: Titles for JNG and MNG were reversed.
2004-08-07 Bob Friesenhahn <[email protected]>
* magick/widget.c (XCommandWidget): Replace ImageMagick logo in
display command menu with GraphicsMagick logo.
2004-08-05 Glenn Randers-Pehrson <[email protected]>
* coders/png.c: Fixes for CERT security alert TA04-217A described
at "http://www.us-cert.gov/cas/techalerts/TA04-217A.html".
2004-08-02 Bob Friesenhahn <[email protected]>
* magick/image.h (Image): Changed type of `colors` and `depth`
members from type `unsigned long` to `unsigned int`. This change
is made because on 64-bit CPUs, `unsigned long` is a 64-bit
type. The depth member is often used in switch statements. It is
not recommended to use 64-bit types in switch statements. The
maximum number of colors in the colormap is limited to 64K so a
64-bit type is not required.
2004-08-01 Bob Friesenhahn <[email protected]>
* coders/tiff.c (ReadTIFFImage): Restore previous 8/16
bits-per-sample support code in order to regain lost performance.
2004-07-31 Bob Friesenhahn <[email protected]>
* coders/tiff.c (ReadTIFFImage): Support reading RGB/CMYK scanline
oriented TIFF images with arbitrary depth.
2004-07-28 Bob Friesenhahn <[email protected]>
* Makefile.am: Update to Automake 1.9.
2004-07-20 Mike Chiarappa <[email protected]>
* BCBMagick\magick\GM_magick.bpr: Updated to reflect changes since last update.
* BCBMagick\magick\libMagick.bpr: Updated to reflect changes since last update.
* BCBMagick\bzlib\GM_bzlib.bpr: Updated version number.
* BCBMagick\lcms\BCB6\GM_lcms.bpr: Updated version number.
* BCBMagick\Magickpp\lib\GM_magickpp.bpr: Updated version number.
* BCBMagick\ttf\GM_ttf.bpr: Updated version number.
* BCBMagick\zlib\GM_zlib.bpr: Updated version number.
* BCBMagick now support full LZW encoding (read/write).
2004-07-24 Bob Friesenhahn <[email protected]>
* tiff/libtiff/tif_lzw.c: Replace with version which supports LZW encoding.
* magick/channel.c: New source file.
(ExportImageChannel): New function to export an image channel.
(ImportImageChannel): New function to import an image channel.
2004-07-20 Mike Chiarappa <[email protected]>
* lcms/src/cmsio1.c: Test [testcms.c] related to lcms 1.13 fail
with error #12288 when perform "Checking saved linearization
devicelink". Fixed function __cmsSaveProfile(). "...malloc(0) is
implementation dependent and may return non NULL pointer on some
compilers, like VC++ and gcc. This is not the case of Borland C++
Builder" - Thanks to Marti Maria that have supplied me this
patched file: this will be part of the next lcms 1.14 which
probabily will be released on summer's end.
2004-07-20 Mike Chiarappa <[email protected]>
* lcms/include/lcms.h: Modified to achieve BCBMagick DLL compilation.
Included modifications was introduced in GM in 2004-01-16 and
probabily lost with latest update of library.
2004-07-20 Mike Chiarappa <[email protected]>
* BCBMagick: Updated lcms to version 1.13.
+ Modified files: BCBMagick\All\bcbMagick.mak; BCBMagick\lcms\BCB6\GM_lcms.bpr;
BCBMagick\lcms\BCB6\lcms.bpg; BCBMagick\lcms\BCB6\lcms.bpr;
BCBMagick\lcms\BCB6\testcms.bpr
+ Deleted files: BCBMagick\lcms\BCB6\lcms.cpp; BCBMagick\lcms\BCB6\testcms.cpp
+ Added file: BCBMagick\lcms\BCB6\lcms.bpf
2004-07-19 Bob Friesenhahn <[email protected]>
* doc/options.imdoc: Fix typo regarding -define tiff:samples-per-pixel.
* doc/GNUmakefile (utility-install): Utility HTML targets were not being installed.
2004-07-17 Bob Friesenhahn <[email protected]>
* lcms: Updated to version 1.13.
2004-07-17 Bob Friesenhahn <[email protected]>
* version.sh (CVS_BRANCH_TAG): Record the CVS branch tag that
source package is obtained from.
2004-07-17 Bob Friesenhahn <[email protected]>
* configure.ac: Pass essential flags on down to subordinate
configures when performing `make distcheck`. Support DESTDIR
installs for PERL 5.8.1 and later, which support DESTDIR
internally.
2004-07-16 Mike Chiarappa <[email protected]>
* BCBMagick\coders\libCoders.bpr; BCBMagick\magick\GM_magick.bpr: include
file jbig.h could not be found during compilation. Solved.
2004-07-15 Mike Chiarappa <[email protected]>
* BCBMagick\magick\magick_config.h.: enabled LZW compression by default.
* BCBMagick: included jbig delegate library.
+ Modified these files into directory BCBMagick: All\bcbMagick.mak;
All\GMlib.bpg; All\GMdll.bpg; coders\libCoders.bpr; magick\GM_magick.bpr;
utilities\gm_lib.bpr; utilities\gm_dll.bpr
+ Added these files into new directory BCBMagick\jbig: jbig.bpr;
jbig.bpf; GM_jbig.bpr; GM_jbig.c; tstcodec.bpr
+ Modified file jbig\jbiglib\jbig.h;
* BCBMagick\readme.txt: updated documentation.
2004-07-10 Bob Friesenhahn <[email protected]>
* magick/command.c (MogrifyUsage): -ordered-dither help was
formatted incorrectly.
* doc/options.imdoc: Improve formatting a bit for manual pages and
fix some syntax errors.
2004-07-09 Bob Friesenhahn <[email protected]>
* NEWS: Updated to reflect changes since last update.
2004-07-09 Glenn Randers-Pehrson <[email protected]>
* coders/bmp.c (ReadBMPImage): Removed if-test on reading
red_mask, green_mask, and blue_mask. These are only *valid*
under certain conditions, but they are always present in the
file.
2004-07-08 Bob Friesenhahn <[email protected]>
* Enable LZW compression by default.
2004-07-05 Bob Friesenhahn <[email protected]>
* coders/jpeg.c (WriteJPEGImage): Don't enable Huffman compression
for large images (> 16 Mpixels for the moment) in order to
conserve memory. When Huffman compression is enabled the entire
image is buffered in memory prior to encoding and writing
anything. Huffman compression is a method of eliminating
redundant data so when the Huffman compression is disabled, files
sizes will be larger, but otherwise the image is the same.
* wand/magick_wand.c (MagickSetPassphrase): String was being
copied to a null pointer. Now memory is allocated as required
prior to a copy.
Ensure that all unimplemented functions return a proper error
report.
2004-07-01 Mike Chiarappa <[email protected]>
* BCBMagick: updated to GraphicsMagick v.1.2
* BCBMagick\All: project GMlib-1.1.bpr has been replaced with
GMlib.bpr
* BCBMagick\All: project GMdll-1.1.bpr has been replaced with
GMdll.bpr
* BCBMagick\readme.txt: updated documentation.
2004-06-28 Bob Friesenhahn <[email protected]>
* magick/command.c (MogrifyImage): For -units, don't reset
resolution if units are undefined. Report an error if the -units
argument is not supported.
2004-06-27 Bob Friesenhahn <[email protected]>
* magick/command.c (MogrifyImage): When setting image units, also
adjust existing image x_resolution and y_resolution so that
existing image resolution is not trashed.
(MogrifyImage): When re-sampling an image, report an error if the
image does not contain a valid resolution.
2004-06-21 Bob Friesenhahn <[email protected]>
* coders/pcx.c (WritePCXImage): Support writing large PCX files.
(WritePCXImage): Ensure that UndefinedResolution is handled
properly. Avoid round-off error for centimeter based resolution.
2004-06-10 Bob Friesenhahn <[email protected]>
* configure.ac: Look for mozilla by default rather than netscape.
2004-06-02 Bob Friesenhahn <[email protected]>
* magick/type.c (ReadTypeConfigureFile): Determine location of
Ghostscript fonts only once in order to improve performance.
* magick/nt_base.c (NTGhostscriptFonts): Properly determine
Ghostscript font location for Ghostscript 8.0 and later.
* GraphicsMagick.spec.in: Install *-config scripts with mode 755
rather than default 644.
2004-05-30 Bob Friesenhahn <[email protected]>
* magick/module.c (InitializeModuleSearchPath): Evaluate and cache
module search path.
(FindMagickModule): Use cached module search path.
(OpenModules): Load all modules rather than just the modules in
the directory where the LOGO module is found. Besides allowing
user-provided modules in non-GraphicsMagick directories to be
loaded, this allows the "moby" shared build to load additional
modules via OpenModules.
2004-05-28 Bob Friesenhahn <[email protected]>
* utilities/Makefile.am (check): Add convert -list tests.
2004-05-23 Bob Friesenhahn <[email protected]>
* configure.ac: Magick++ needs to be built as a static library
under Cygwin and MinGW since C++ exceptions don't work otherwise.
Be more assertive about that.
* magick/nt_base.h: Avoid conflict with ssize_t definition under
MinGW.
2004-05-22 Bob Friesenhahn <[email protected]>
* magick/constitute.c (DispatchImage): Support 8-bit output to
common formats BGR, BGRO, BGRP, RGB, RGBO, and I as special cases
in order to improve performance.
(ConstituteImage): Support 8-bit input from common formats BGR,
BGRO, BGRP, RGB, RGBO, and I as special cases in order to improve
performance.
2004-05-20 Bob Friesenhahn <[email protected]>
* ltmain.sh: Fix to allow exe wrapper to work under MinGW.
* wand/magick_compat.c (QueryMagickColor): Fixed DLL export.
* wand/magick_wand.c: Fixed some DLL exports (MagickExport->WandExport).
2004-05-17 Bob Friesenhahn <[email protected]>
* magick/image.c (SetImageClipMask): Consistently report any
exceptions to image->exception.
2004-05-16 Bob Friesenhahn <[email protected]>
* Makefile.am: Update to Automake 1.8.5.
* magick/image.h (ImageInfo): New `progress` monitor to indicate
if progress monitor and busy cursor are enabled while displaying
an image. Defaults to True.
* magick/display.c, magick/xwindow.c: Use +progress to disable
progress monitor and busy cursor.
* magick/command.c (MogrifyUsage): Usage didn't list -operator.
(ConvertUsage): Usage didn't list -operator.
2004-05-15 Bob Friesenhahn <[email protected]>
* magick/compress.c (HuffmanDecodeImage): Properly return error status.
(HuffmanEncode2Image): Properly return error status.
* magick/composite.c (CompositeImage): Properly return error status.
* magick/quantize.c (ClassifyImageColors): Properly return error status.
(GetImageQuantizeError): Properly return error status.
(OrderedDitherImage): Properly return error status.
* magick/profile.c (ProfileImage): Properly return error status.
* magick/paint.c (ColorFloodfillImage): Properly return error status.
(MatteFloodfillImage): Properly return error status.
(OpaqueImage): Properly return error status.
(TransparentImage): Properly return error status.
* magick/enhance.c (ContrastImage): Properly return error status.
(EqualizeImage): Properly return error status.
(GammaImage): Properly return error status.
(LevelImage): Properly return error status.
(LevelImageChannel): Properly return error status.
(ModulateImage): Properly return error status.
(NegateImage): Properly return error status.
(NormalizeImage): Properly return error status.
* magick/image.c (GetImageClipMask): New function to retrieve an
associated clip-mask image.
(SetImageClipMask): Clip-mask image parameter may be const since
it is cloned prior to storage.
(ChannelImage): Properly return error status.
(GradientImage): Properly return error status.
(RGBTransformImage): Properly return error status.
(TransformRGBImage): Properly return error status.
(SyncImage): Return an error status.
* magick/enhance.c (NegateImage): If image has a clip mask,
then force image to DirectClass so clip mask takes effect.
2004-05-15 Vladimir Lukianov <[email protected]>
* magick/image.c (SetImageOpacity): Ensure that image is
DirectClass. If specified opacity is TransparentOpacity, then
replace existing opacity with TransparentOpacity.
2004-04-20 Bob Friesenhahn <[email protected]>
* configure.ac: Avoid duplicated test status messages for __func__
tests. Avoid duplicated test status message for jpeg 6b test.
2004-04-19 Patrick Welche <[email protected]>
* www/header.html: HTML syntax fixes.
2004-04-18 Bob Friesenhahn <[email protected]>
* : Change web pages to a frames-based design.
2004-04-17 Bob Friesenhahn <[email protected]>
* utilities/Makefile.am (check): Change geometry arguments which
were expressed as 0.0xVAL to avoid the problematic Linux scanf
feature back to 0xVAL.
2004-04-14 Bob Friesenhahn <[email protected]>
* magick/symbols.h (GetMagickDimension): Added GetMagickDimension.
2004-04-11 Bob Friesenhahn <[email protected]>
* magick/utility.c (GetMagickDimension): New function to replace
occurances of scanf(geometry,"%lfx%lf",&w,&h) since Linux scanf()
and strtod() misbehave for strings that start with "0x". The Linux
versions always treat 0x as the start of a value expressed in hex
and can't be forced to read the leading value as a double. This
function has been applied globally to replace the problem scanf's.
* magick/version.h.in: Make it clear in the -version output that a
mutitude of copyrights and licenses apply to this software.
* magick/utility.c (GetPathComponent): Avoid strncpy() of
overlapping regions.
* magick/command.c (DisplayImageCommand): Eliminate double-free
of resource_info->image_geometry.
(DisplayImageCommand): `display` was improperly requiring at least
one argument (bug was added yesterday).
2004-04-10 Bob Friesenhahn <[email protected]>
* utilities/gm.c (main): Default usage message wasn't right for
aliased utility.
* configure.ac: Added the --enable-magick-compat option to install
compatibility links to emulate ImageMagick commands.
* magick/command.c: Ensure that each sub-command responds to -help
and -version appropriately.
* utilities/gm.c (main): Invoke appropriate sub-command if gm is
executed under a traditional alternate name such as "convert". The
user may create hard or symbolic links from `gm` to a traditional
ImageMagick utility name (or just copy `gm` to the desired
sub-command name) in order to be 100% command-line compatible with
ImageMagick 5.5.2. This is necessary in order to work with
existing software designed to execute ImageMagick utilities.
2004-04-08 Bob Friesenhahn <[email protected]>
* magick/compress.c (Ascii85Tuple): Encoding bug is indeed fixed
on DEC Alpha. Also warnings reduction with Digital Unix compiler.
2004-04-07 Bob Friesenhahn <[email protected]>
* magick/compress.c (Ascii85Tuple): Add casts to reduce compiler
warnings, and maybe even fix a bug.
* coders/pdf.c (ReadPDFImage): Double-check that Ghostscript
produced an output file since sometimes it reports success after
it has spewed an error message and has produced no output.
2004-04-06 Bob Friesenhahn <[email protected]>
* magick/compress.c (HuffmanEncode2Image): Avoid out of bounds
array access.
* magick/studio.h (_FILE_OFFSET_BITS): Fix _FILE_OFFSET_BITS
#ifdef to avoid warnings when it is not defined.
2004-04-05 Bob Friesenhahn <[email protected]>
* configure.ac: Fix minor shell syntax error (used ==).
2004-04-04 Bob Friesenhahn <[email protected]>
* Merged in updates from 1.1 release branch.
* version.sh (PACKAGE_VERSION): Release version 1.1.
(PACKAGE_VERSION): Next major release will be 1.1. Bump library
versions since we anticipate adding interfaces.
* magick/studio.h: Disabled use of Windows message lookups
entirely since this doesn't seem to work for programs. It
probably only works for DLLs like ImageMagickObject.
* magick/delegate.c (ListDelegateInfo): Don't get stuck in a loop
if fprintf() returns zero.
2004-04-03 Bob Friesenhahn <[email protected]>
* VisualMagick/*/*.bat: Add .exe to exe file names in order to
ensure that the executable is executed rather than something else
(such as a batch script).
* magick/locale.c: Only use Windows resource message lookup for
the DLL build since it doesn't seem to work for static
executables.
* magick/utility.c (SetClientPath): Ensure that client path is
null terminated.
(SetClientFilename): Initialize default client filename to ""
rather than "gm.exe" and ensure that filename is null terminated.
(SetClientName): Ensure that client path is null terminated.
* magick/blob.c (GetConfigureBlob): Enable logging the load of
log.mgk
* magick/log.c: Re-designed logging initialization in order to
avoid the "chicken and the egg" snafu. This allows logging the
initialization of the logging subsystem.
2004-04-01 Bob Friesenhahn <[email protected]>
* VisualMagick/bin/log.mgk: Add comments to help document usage.
* config/log.mgk: Add comments to help document usage.
* magick/utility.c (IsAccessible): Use access() rather than stat().
(IsAccessibleNoLogging): Use access() rather than stat().
(IsDirectory): Implemented return status according to existing API
documentation.
(GetExecutionPathUsingName): Complete re-write in order to minimize
path computation logic and fix failure with partial paths.
2004-03-31 Bob Friesenhahn <[email protected]>
* doc/options.imdoc: Add "Color" to the arguments available for -list.
2004-03-29 Bob Friesenhahn <[email protected]>
* version.sh (PACKAGE_CHANGE_DATE): Updated version to 1.1Beta3
* magick/nt_base.c (NTSystemComman): Have not been successful with using
MsgWaitForMultipleObjects() reliably, so back out usage of it for
now.
* magick/fx.c (ConvolveImage): Support convolution in CMYK
colorspace.
2004-03-28 Bob Friesenhahn <[email protected]>
* version.sh (PACKAGE_CHANGE_DATE): Update release to 1.1Beta2.
* magick/constitute.c (ReadImage): Ignore errors of type
ConfigureError when loading modules so that error report can still
report the familiar "No delegate for this image format" message
while still being able to report problems with loading a module if
it was found. This is a compromise which reports useless messages
when the modules are not found at all, but I can't think of a way
around it.
* magick/nt_base.c (NTSystemComman): Adjust
MsgWaitForMultipleObjects() arguments to wait for object to be
signaled only (FALSE) rather wait for object to be signaled as
well as an input event received(TRUE). It seems that process
status changes do not result in an input event, so the call was
deadlocking.
* magick/constitute.c (ReadImage): If module loading reported an
error, ReadImage immediately returned an error rather than trying
to use a delegate defined by delegates.mgk.
2004-03-25 Bob Friesenhahn <[email protected]>
* version.sh: Updated version to 1.1Beta1
2004-03-24 Mike Chiarappa <[email protected]>
* BCBMagick/magick/libMagick.bpr: updated to latest source modifications.
* BCBMagick/magick/GM_Magick.bpr: updated to latest source modifications.
2004-03-23 Bob Friesenhahn <[email protected]>
* coders/plasma.c (ReadPlasmaImage): srand() is already invoked by
InitializeMagick() so don't call it here.
* configure.ac: Check for rand_r().
* magick/tempfile.c (ComposeTemporaryFileName): The full range of
safe characters was not being used, thereby limiting the number of
unique temporary file names available.
2004-03-22 Bob Friesenhahn <[email protected]>
* magick/image.c (GetImageStatistics): New function to obtain
image statistics (minimum, maximum, mean, variance, and standard
deviation).
(DescribeImage): Include image channel statistics in verbose
output.
2004-03-21 Bob Friesenhahn <[email protected]>
* magick/constitute.c (DispatchImage): Removed some unreachable
code that was accidentially left in the switch statement.
* magick/pixel_iterator.c (PixelIterateDualRead): Extended so that
the region in each image may use a different origin.
(PixelIterateDualModify): Extended so that
the region in each image may use a different origin.
* magick/composite.c (CompositeImage): Fix XorCompositeOp overflow
condition which occured on non-Intel architectures.
2004-03-20 Bob Friesenhahn <[email protected]>
* NEWS: Updated with changes up to today's date.
* tests/constitute.c (main): Float type seems to require allowing
a bit of error for Q:32.
* magick/constitute.c (DispatchImage): Be more careful when
rounding pixel intensity.
(ConstituteImage): Be more careful when converting float and
double to Quantum.
* magick/composite.c (CompositeImage): Fix Multiply composite
operator for Q:32 build (was all black image).
(CompositeImage): Tidied up the documented composite operators so
the implementation is easier to understand.
* PerlMagick/t/ttf/read.t: Set a desired label size so output
image should be the same size as the reference image even if the
FreeType type hinter is disabled.
* magick/annotate.c (RenderFreetype): Improve outline bounding box
computation accuracy.
2004-03-18 Bob Friesenhahn <[email protected]>
* PerlMagick/t/x/write.t: Don't test X11 if DISPLAY is not set.
* PerlMagick/t/x/read.t: Don't test X11 if DISPLAY is not set.
2004-03-17 Bob Friesenhahn <[email protected]>
* coders/Makefile.am: Removed some apparently unnecessary library
dependencies.
* Makefile.am (windows-src): Added a way to generate a Windows
source zip file.
2004-03-16 Bob Friesenhahn <[email protected]>
* magick/command.c: The -operator command now supports
floating-point and percent of range arguments.
2004-03-15 Bob Friesenhahn <[email protected]>
* magick/command.c: Added support for -operator command with
syntax "-operator channel operator rvalue" which applies a
arithmetic or bitwise operator to a specified image channel
or all channels.
2004-03-13 Bob Friesenhahn <[email protected]>
* PerlMagick/t/filter.t: Fix Solarize test case.
* PerlMagick/t/wmf/read.t: Added another WMF test case.
* coders/wmf.c: Resolve WMF rendering bug with black color.
* magick/utility.c (StringToArgv): Free argv data prior to error
return.
2004-03-10 Bob Friesenhahn <[email protected]>
* coders/jpeg.c (WriteJPEGImage): If image_info->colorspace is set
to GRAYColorspace then make sure that image is in a gray
colorspace.
* magick/image.c (TransformRGBImage): If colorspace is already an
RGB type (RGBColorspace, GRAYColorspace, or TransparentColorspace),
then simply return. Do *not* set image->colorspace to RGBColorspace
since this potentially loses a valuable setting.
2004-03-10 Peter Boos <[email protected]>
* magick/annotate.c (RenderFreetype): If DrawAnnotation is called
with a string containing only one character and this character is
not recognized by the TrueType engine, a crash occured due to the
failure of FT_Load_Glyph. The failure caused an uninitialized
glyph.image pointer to be used by FT_Done_Glyph() later in the
code. The solution is to initialize the glyph.image pointer to
null.
2004-03-09 Bob Friesenhahn <[email protected]>
* magick/image.c (QuantumOperatorRegionImage): Properly handle
over and underflow of arithmetic operators.
* magick/draw.c (DrawGetFillOpacity): Use fill opacity, and invert
opacity range so it is 0.0 to 1.0 (was acting like transparency).
(DrawSetStrokeOpacity): Validate range of stroke_opacity.
(DrawSetFillOpacity): Save value to context->fill.opacity and
validate the range of fill_opacity.
* magick/image.c (QuantumOperatorImage): New function to apply an
arithmetic or bitwise operator to the pixel quantums in an image.
(QuantumOperatorRegionImage): New function to apply an arithmetic
or bitwise operator to the pixel quantums in an image region.
* magick/image.c (IsImagesEqual): Re-implemented using the new
pixel iteration functions as a proof of concept.
* magick/pixel_iterator.h: Added some pixel iteration functions in
order to make it easier to implement algorithms which only need to
iteratively access pixels in a region. These functions are not
part of the API yet so their interface should be considered
unstable.
* doc/GNUmakefile: Rename Makefile to GNUmakefile since it relies
on GNU make extensions.
2004-03-06 Bob Friesenhahn <[email protected]>
* magick/constitute.c (ConstituteImage): Add support for `T`
(transparency) and `O` (opacity) map types. Simplify
implementation.
(DispatchImage): Add support for `T` (transparency) and `O`
(opacity) map types. Simplify implementation.
* config/delegates.mgk.in: Quote delegate command names so
that they can contain embedded spaces.
* VisualMagick/bin/delegates.mgk: Quote delegate command names so
that they can contain embedded spaces.
* coders/tiff.c (WriteTIFFImage): Use the libtiff default endian
mode when writing TIFF rather than forcing MSB2LSB bit order.
(ReadTIFFImage): Enable reading in MSB2LSB bit order (better for
our byte-level parsing), enable memory mapping, and enable strip
chopping. Memory mapping and strip chopping are probably enabled
by default.
* magick/nt_base.c (NTSystemComman): Use
MsgWaitForMultipleObjects() rather than WaitForSingleObject() in
order to avoid possible deadlock when application code directly or
indirectly creates windows.
2004-02-28 Bob Friesenhahn <[email protected]>
* magick/animate.c (XMagickCommand): URL should point to
http://graphicsmagick.org/.
* magick/display.c (XMagickCommand): URL should point to
http://graphicsmagick.org/.
* magick/image.c (DisplayImages): Changes to fix memory leaks in
X11 commands had bugs which seriously broke DisplayImages. Now
DisplayImages works properly again.
* magick/xwindow.c (XDestroyResourceInfo): New function to destroy
XResourceInfo.
* coders/x.c (WriteXImage): Implement based on DisplayImages().
(RegisterXImage): Always register X coder, but with read/write
support disabled if X11 not available.
2004-02-26 Bob Friesenhahn <[email protected]>
* magick/command.c (ImportImageCommand): Eliminate memory leaks.
* magick/memory.c (LiberateMemory): Use MagickFreeMemory macro for
implementation.
(ReacquireMemory): Use MagickReallocMemory macro for
implementation.
(AcquireMemory): Use MagickAllocateMemory for implementation.
2004-02-26 Vladimir <[email protected]>
* magick/memory.c (CloneMemory): Fixes to compile under Microsoft
Visual C++ 6.0.
2004-02-25 Bob Friesenhahn <[email protected]>
* magick/animate.c (XAnimateImages): Memory leak reduction and
better integration with gm command.