-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog.2003
More file actions
4901 lines (3391 loc) · 176 KB
/
Copy pathChangeLog.2003
File metadata and controls
4901 lines (3391 loc) · 176 KB
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
2003-12-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/annotate.c (RenderFreetype): Ensure that image storage
class is set to DirectClass. Text rendering was not working
properly on top of PseudoClass images.
* magick/map.c (MagickMapRemoveEntry): Logic didn't properly
handle removing entry in list.
* configure.ac: Added --enable-efence option to enable memory
debugging using Electric Fence.
2003-12-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tests/maptest.c (main): Extended test to add an entry to the
list after an entry has already been removed.
* magick/image.c (ColorspaceTypeToString): Add support for LAB
colorspace.
* magick/map.c: Added signature members to all structures and
added assertions to ensure that the signature == MagickSignature
prior to use. MagickMapAllocateObject now initializes the object
reference count to one, and MagickMapDestroyObject decrements it
in order to be more correct even though the object reference count
is not actually used yet.
(MagickMapCopyString): Preserve a null argument, and use
AcquireString since it doesn't enlarge the string storage.
(MagickMapCopyBlob): Preserve null blobs.
* configure.ac: Search for the shmctl() function. Under current
Cygwin, this is hiding in -lcygipc.
2003-12-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/composite.c: Fixed the composite operator list in the
CompositeImage documentation.
* www/api/types.html: Corrected list of composition
operators. Sometime prior to the creation of GraphicsMagick, the
"Replace" composite operators were renamed to be "Copy" composite
operators. Thanks to David Relson for bringing this problem to
our attention.
* PerlMagick/Magick.xs: Added "LAB" to colorspace types.
* magick/image.h (enum ColorSpace): Add LABColorspace enumeration.
* wand/magick_wand.h : Add some compatibility definitions to
translate from ImageMagick enumerations to existing GraphicsMagick
enumerations.
2003-12-25 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/annotate.c: Use header synonyms defined by FreeType's
ftheader.h (included via <ft2build.h>) to include FreeType headers.
This will presumably be more portable in the future.
* configure.ac: <ft2build.h> is an optional prerequisite for
<freetype/freetype.h> and <libwmf/ipa.h> so include it when
testing for these headers.
* magick/annotate.c: Include <ft2build.h> if it is available.
2003-12-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* wand/wandtest.c: Ported from latest ImageMagick version.
* wand/drawing_wand.c: Adapted to be compatible with latest
ImageMagick version.
* wand/pixel_wand.c: Adapted to be compatible with latest
ImageMagick version.
* wand/magick_wand.c: Ported from latest ImageMagick version.
* magick/image.h (Image): Members color_profile, iptc_profile,
generic_profile, and generic_profiles are now deprecated and
private although they continue to work as before. Please migrate
existing code to use the GetImageProfile and SetImageProfile
functions since these members will eventually be removed.
* magick/image.c (GetImageProfile): New function to retrieve an
image profile. Return value differs from similarly named
ImageMagick method since the ImageMagick approach assumes a
particular storage method.
(SetImageProfile): New function to add (or remove) an image
profile. Does not execute CMS color profiles.
* magick/cache.c (SetImageVirtualPixelMethod): Return unsigned int to
make the Wand implementation happy.
* magick/image.c (TransformColorspace): Return unsigned int to
make the Wand implementation happy.
(SetImageType): Return unsigned int to make the Wand
implementation happy.
* magick/draw.h, magick/draw.c: Substitute `unsigned long` in
place of `size_t` in interfaces so that the draw API is not
sensitive to the definition of _LP64.
* locale/C.mgk: Added new messages required by Wand library.
* magick/error.c (ExceptionSeverityToTag): Add tag translations
for the WandWarning, WandError, & WandFatalError enumerations
* magick/error.h (enum ExceptionType): Add WandWarning, WandError,
& WandFatalError enumerations to ExceptionType for ImageMagick
API compatibility.
* magick/image.h (enum ChannelType): Add an `AllChannels`
enumeration to the ChannelType enumeration for ImageMagick
API compatibility.
2003-12-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* PerlMagick, tests: Adjusted allowed error values for tests based
on new error computation arithmatic. Some tests were left failing
since the operation they test provides results which are
unreasonably inaccurate, or obviously broken.
2003-12-17 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/jpeg.c: Changed "JPEG:preserve-settings from a key/value
pair to a simple flag. Save and restore attributes when
"-define JPEG:preserve-settings" appears on the commandline. Use
"+define JPEG:preserve-settings" to unset the flag.
2003-12-16 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/wmf.c: Include <ft2build.h> if it is available since some
libwmf installs don't work unless it is included before the libwmf
API headers.
* configure.ac: Check for <ft2build.h>.
2003-12-16 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/jpeg.c: Changed stored jpeg quality attribute from
[jpeg-quality] to JPEG-Quality. Added attributes JPEG-Colorspace
and JPEG-Sampling-factors. Added code to save and restore
these attributes when "-define JPEG:preserve-settings=yes" is
present in the comandline. Quality is restored if the input
was a JPEG and the quality was preserved. Sampling factors
are restored if the input was a JPEG, sampling factors were
preserved, and the colorspace for the output file is the same
as that of the input file.
2003-12-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* TclMagick/source/configure.ac: Add an initial TclMagick
configure-based build environment based on a template and macros
from the Tcl project. I recall that while the extension does build,
it is possible that it is not properly registered as a module to Tcl.
2003-12-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/image.c (IsImagesEqual): Properly compute error distance
vectors. Math was missing the necessary sqrt call. Also,
pre-normalize the error differences to 1.0 in order to reduce the
storage size required to store the summation of error values.
* PerlMagick/t/composite.t: Update Minus and Xor reference images.
* magick/composite.c (CompositeImage): Incorporated fixes from
ImageMagick for XorCompositeOp, PlusCompositeOp, and
MinusCompositeOp. Thanks to John Cristy for bringing the need for
these fixes to our attention.
* magick/image.h (RoundToQuantum): Added missing parenthesis.
2003-12-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* doc/environment.imdoc: Document MAGICK_CODER_MODULE_PATH and
MAGICK_FILTER_MODULE_PATH.
* rungm.sh.in: Pass MAGICK_CODER_MODULE_PATH and
MAGICK_FILTER_MODULE_PATH in the environment so modules build may
be tested without first being installed.
* magick/module.c (FindMagickModule): Use the
MAGICK_CODER_MODULE_PATH environment variable to specify a search
path for coder modules. Use MAGICK_FILTER_MODULE_PATH to specify
a search path for filter modules.
* Makefile.am: Updated to Automake 1.8.
(install-exec-perl): Fixes which achieve a successful
`make distcheck` for the first time in *Magick history.
* configure.ac: Set scripts to executable.
2003-12-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* Makefile.am (uninstall-data-html): Pathnames were computed
incorrectly so documentation directories were being left behind.
* configure.ac: --without-frozenpaths is now the default. This
helps `make distcheck` work and makes the package more portable.
Path to gm was being incorrectly frozen when --without-frozenpaths
was specified.
* magick/delegate.c (ReadConfigureFile): Validate delegate paths
prior to substitution.
* rungm.sh.in (top_builddir): Use a more reliable scheme for
computing location of source and build directories.
* magick/Makefile.am: Improve include directory computation logic.
* configure.ac: Don't override includedir. Pass user-supplied LIBS
to the linker.
2003-12-08 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/jpeg.c: store JPEG quality as "[jpeg_quality]" attribute.
2003-12-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* rungm.sh.in: New script to support executing uninstalled
executables.
* magick/blob.c (GetConfigureBlob): New MAGICK_CONFIGURE_PATH
environment variable allows the user to specify the search path
for configuration (.mgk) files.
2003-12-06 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* index.html: Added a table showing current stable release and
development version.
2003-12-05 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* doc/options.imdoc (use): Describe the syntax of the -process
argument.
* acinclude.m4 (AC_CHECK_CC_OPT): Add quoting in AC_CHECK_CC_OPT
definition. Change suggested by Patrick Welche
2003-12-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/magick.c (GetMagickInfo): Fix preprocessing logic error
which caused moby shared library build to not register static
modules.
2003-12-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/module.c (ExecuteModuleProcess): Add some logging.
* magick/static.c (ExecuteStaticModuleProcess): Add some logging.
2003-11-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* VisualMagick/installer: Add optional build support for LZW.
* wand/Makefile.am: Add AUTOMAKE_OPTIONS.
* configure.ac: Update to Autoconf 2.59.
2003-11-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* VisualMagick/installer/inc/tasks-install-perlmagick.isx: Update
to reflect that the next release will use ActivePerl 5.8.1 Build
807.
* VisualMagick/installer/inc/files-configs.isx: Updated the source
locations for the .mgk files. Install modules.mgk into the config
directory rather than the modules directory.
* configure.ac: Fixes to work with latest CVS libtool.
* libtool.m4: Update to latest CVS libtool.
* magick/modules.c, magick/static.c (ExecuteStaticModuleProcess):
Fix conditional compilation logic so that "moby" shared library
build works again.
* magick/compress.c, magick/mac.c: Use existing SaveImageText and
LoadImageText global constants rather than separate defines.
2003-11-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* configure.ac: Update to Autoconf 2.58.
* Makefile.am: Update to Automake 1.7.9.
2003-11-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/draw.c (DrawComposite): Base64-encoded image was not
being deallocated. Bad memory leak.
2003-11-03 Mike Chiarappa <mikechiarappa@libero.it>
* BCBMagick: Updated installation procedure. Please read
BCBMagick/readme.txt for details.
2003-11-03 Mike Chiarappa <mikechiarappa@libero.it>
* BCBMagick: Released DLL Version. Please read BCBMagick/readme.txt
for details about installation and/or use.
2003-11-03 Lars Ruben Skyum <lars.skyum@stibo.com>
* magick/utility.c (GetPathComponent): Added x, X, and +
characters to list of legal characters in subimage
specifications. Required by raw RGB image reader which accepts the
syntax "image.rgb[100x100+50+50]". Thanks to John Cristy for
catching that one.
2003-11-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/locale.c (GetLocaleMessageFromID): Fix ID range checking
logic.
2003-10-30 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/jpeg.c: changed to not write gray CMYK images as
grayscales. That would not be a valid optimization.
* magick/color.c (IsGrayImage, IsMonochromeImage): Changed to
never return true for CMYK images. Separated images get wrong
colors when optimized to grayscales based on what these two
functions return. Gray and CMYK are two different color spaces.
* magick/nt_feature.c (NTIsMagickConflict): changed to accept
colon as part of the magick string, consistent with the way the
function is used.
* magick/utility.c, magick/utility.h (ExpandFilenames,
GetPathComponent): Fixed filename glob expansion. Added handling
of filename prefix-magick and sub-image specification to
GetPathComponent. Sub-image specification takes precedence over
any filename patterns.
2003-10-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/static.c (ExecuteModuleProcess): Renamed from
ExecuteStaticModuleProcess. Only compiled if SupportMagickModules
is not defined.
* magick/type.c (GetTypeBlob): Eliminated function.
(ReadTypeConfigureFile): Use GetConfigureBlob() rather than
GetTypeBlob().
* magick/module.c (GetModuleBlob): Eliminate this function since
modules.mgk is now installed under
${prefix}/share/GraphicsMagick-version/config so
GetConfigureBlob() may be used.
(lt_dlexit, etc.) Eliminate fake libltdl function wrappers used
for the static build.
(DestroyMagickModules): Added a new destroy function (simply
invokes DestroyModuleInfo()).
(GetModuleList): Learn where modules live by using
FindMagickModule() to locate the LOGO module rather than by using
the location of modules.mgk. This is necessary since now
modules.mgk may be seperate from the modules.
(GetModuleBlob): Eliminated function.
(InitializeMagickModules): New function to safely initialize the
module loader.
(OpenModule): Added logging messages.
(OpenModules): Added logging messages.
(ReadModuleConfigureFile): Use GetConfigureBlob() rather than
GetModuleBlob().
Totally eliminated the rat's-nest of conditional code dependent on
SupportMagickModules. Now all the code in module.c is dependent
on #if defined(SupportMagickModules).
* magick/magick.c (DestroyMagick): Invoke DestroyMagickModules().
(GetMagickInfo): #ifdef chunks of code which exist to support the
modules-build rather than forcing the module loader to pretend
that modules are being used when they are not. Pass module loading
exceptions back to the user rather than discarding them.
(GetMagickInfoArray): Don't inspect the exception status since may
short-circuits the operation. Use best-effort instead.
(ListMagickInfo): Don't inspect the current exception status so
that all the modules which did load successfully will be
represented.
(InitializeMagick): Invoke InitializeMagickModules().
* magick/log.c: (GetLogBlob): Eliminated function.
GetConfigureBlob() is safe to use now when configuring logging.
(LogToBlob): Simplified function. Only exists since FileToBlob()
may throw exceptions (which are logged, causing deadlock).
(ReadLogConfigureFile): Use GetConfigureBlob().
* magick/blob.c (GetConfigureBlob): Re-written to use the
MagickMap interface and to support the new `lib` and `share`
config directories. The directory
${prefix}/lib/GraphicsMagick-version/config is scanned before
${prefix}/share/GraphicsMagick-version/config.
(FileToBlob): Simplified implementation.
* config/Makefile.am: New makefile to install .mgk files.
* magick/magick_config.h.in: Added MagickLibConfigPath and
MagickShareConfigPath defines.
* configure.ac: Install configuration files (.mgk files) in
${prefix}/lib/GraphicsMagick-version/config and
${prefix}/share/GraphicsMagick-version/config. Architecture
independent files to under "share" while architecture dependnet
files go under "lib".
* Makefile.am: Added `config` subdirectory to distribution. All
.mgk files are moved from `coders` & `magick` into this single
directory.
2003-10-21 Mike Chiarappa <mikechiarappa@libero.it>
* magick/studio.h: small modifications to achieve DLL
compilation of library with Borland C++ Builder.
* coders/ps3.c (ZLIBEncode2Image): Fixed bug. Compilation
fail when HasZLIB is undefined because parameters 5 and 6,
are undefined.
2003-10-16 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libtool.m4: Updated libtool again to CVS latest version.
Libtool required some fixes for building DLLs under MinGW.
* magick/resource.c (InitializeMagickResources): Some code is
conditional based on HAVE_POPEN.
* magick/utility.c (SystemCommand): Improved conditional
compilation logic.
* magick/blob.c (OpenBlob): Code depending on popen() is
conditionally compiled based on HAVE_POPEN. Code depending on
pclose() is conditionally compiled based on HAVE_PCLOSE.
* configure.ac: Add test for _pclose(), pclose(), _popen(), and
popen().
* magick/locale.c (GetLocaleMessage): Add missing MagickExport.
(GetLocaleMessageFromID): Add missing MagickExport.
* VisualMagick/installer/inc/files-development.isx (Source):
Include all of the headers from the magick directory in the
development package. Including them individually is too error
prone.
2003-10-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* VisualMagick/magick/magick_config.h.in: Added
PREFIX_MAGICK_SYMBOLS as a configuration option.
* magick/module.c (_CoderInfo): Added register_function and
unregister_function members to record the module's register and
unregister function addresses.
(OpenModule): Locate the module's register and unregister
functions and save their address to the module's CoderInfo record.
(UnloadModule): Invoke the module unregister function using the
address recorded by OpenModule().
(TagToFunctionName): If PREFIX_MAGICK_SYMBOLS is defined, then add
a "Gm" prefix to the register and unregister function names.
* libtool: Updated libtool files to the latest CVS version.
* configure.ac: Changed define name from MAGICK_SYMBOL_PREFIX to
PREFIX_MAGICK_SYMBOLS since support is not available for
specifying an arbitrary prefix.
2003-10-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* configure.ac: Added --enable-symbol-prefix configure option
which prepends "Gm" to all GraphicsMagick library symbols using
the C pre-processor. In the future, this may change to support
specifying an arbitrary prefix, depending on experience.
* magick/studio.h: Include magick/symbols.h.
* magick/api.h: Include magick/symbols.h.
* magick/symbols.h: New header to support optionally remapping
library symbols. If MAGICK_SYMBOL_PREFIX is defined, then
library symbols are remapped.
2003-10-13 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/api.h: Removed inclusion of <magick/semaphore.h> since it
is an implementation header.
2003-10-13 Lars Skyum <lrs@stibo.dk>
* www/GraphicsMagick.html, www/animate.html, www/composite.html,
www/conjure.html, www/convert.html, www/display.html, www/gm.html,
www/identify.html, www/import.html, www/mogrify.html,
www/montage.html: added documentation for "-define" command line
option.
* doc/brief_options.imdoc, doc/options.imdoc: Added documentation
for "-define" command line option.
* doc/gmdocselect, doc/imdocselect: Changed "skipform" label in
sed scripts to just "skipf". Solaris sed had problems with the
long(?) "skipform" label.
2003-10-12 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* doc/composite.imdoc, doc/options.imdoc, doc/GraphicsMagick.imdoc:
Attempted to clarify the meaning of the compose arguments and how
composition works, as well as eliminating use of hard-coded values like
255.
* www/links.html: Added a link to Michael Still's article
"Graphics from the command line".
2003-10-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/*.c: Updated module descriptions so that they accurately
describe the module rather than saying "Read/Write GraphicsMagick
Image Format".
* coders/cineon.c: Fix source module description. Contrary to
opinion, ImageMagick did not invent the Cineon X image format so
description is now "Read/Write Cineon X Image Format."
* magick/magic.mgk: Added a CINEON entry for the Cineon X image
format.
* magick/static.c (RegisterStaticModules): Invoke
RegisterCINEONImage().
* coders/modules.mgk: Map "CIN" magick to CINEON module.
2003-10-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* locale/C.mgk: Added message for "UnrecognizedCommand".
* magick/command.c (MagickCommand): No error was reported when a
subcommand failed to be matched so `gm foo` would silently return.
Now an error message is properly reported.
2003-10-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* Makefile.am: Updated to Automake 1.7.8.
* various: Edits to eliminate minor issues detected by SGI C compiler.
* coders/ps3.c (WritePS3Image): Variable `value` was set but never
used so it is removed.
* magick/image.c (RGBTransformPacket): Removed inline request
since this function is too big to inline.
* magick/animate.c (XAnimateBackgroundImage): Fixed a GCC 3.X
"type pinning" warning.
* magick/display.c (XDisplayBackgroundImage): Fixed a GCC 3.X
"type pinning" warning.
* magick/render.c (GetPixelOpacity): Removed inline directive. No
one in their right mind could ever imagine this function inlining
successfully.
* magick/cache.c (IsNexusInCore): Adjusted so function inlines as
requested.
* coders/tiff.c (ReadTIFFImage): Improved logging information.
(WriteTIFFImage): Changed the way the bilevel/grayscale logic
works. Now bilevel images are treated similar to any other
grayscale image unless CCITT FAX3 or FAX4 compression is requested
(which selects the MINISWHITE photometric). The default is now to
write uncompressed bilevel images with MINISBLACK photometric.
* PerlMagick/t/composite.t: Use some reasonable error values.
* magick/image.c (GetImageDepth): Added special cases for
colormapped images and monochrome images in order to improve
performance.
2003-10-09 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* NEWS: added info about color scaling, sampling-factor, and
changed a reference to "-coder-options" to "-define".
2003-10-09 Lars Ruben Skyum <lars.skyum@stibo.com>
* VisualMagick/bin/modules.mgk: added EPS3 mapping to PS3 module.
* coders/ps3.c, coders/tiff.c, magick/command.c, magick/image.c,
magick/image.h, magick/utility.c: Changed -coder-options option to
-define. Also renamed functions {Add,Remove,Access}CoderOption(s)
to {Add,Remove,Access}Definition(s). Changed ps coder-specific
option ps:image=imagemask to just ps:imagemask.
2003-10-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/cineon.c: Imported and adapted Cineon image format coder
written by Kelly Bergougnoux <three3@users.sourceforge.net> with
assistance from John Cristy.
2003-10-08 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/jpeg.c: Extended -sampling-factor option to allow
user to supply full set of sampling factors. If the full
set is not supplied, omitted ones are 1x1 by default, similar
to the behavior of "cjpeg -sample".
* magick/command.c: Accept multiple pairs of sampling factors.
2003-10-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/tiff.c (WriteTIFFImage): Re-arranged logging for improved
output. Cleaned up evaluation of SAMPLESPERPIXEL and
BITSPERSAMPLE. Provided support for the TIFF coder options
tiff:samples-per-pixel and tiff:bits-per-sample for power users.
(ReadTIFFImage): Colormap generation for PHOTOMETRIC_MINISBLACK
and PHOTOMETRIC_MINISWHITE was inaccurate. Seems to be accurate
now.
* PerlMagick/t/reference/read/input.miff: Updated due to Glenn's
change to scale macros.
* PerlMagick/t/tiff/input_gray_12bit.tiff: Replaced 12 bit image
with a different one which is written by GraphicsMagick.
* coders/ps3.c (WritePS3Image): Use AccessCoderOption().
* magick/image.c (AccessCoderOption): Added a function to use for
accessing coder-specific options.
2003-10-08 Lars Ruben Skyum <lars.skyum@stibo.com>
* magick/attribute.c (TraceSVGClippingPath): optimized for speed
and precision in clipping mask generation by using lines to
connect Bezier curve anchor points where applicable.
2003-10-07 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* Revised ScaleColor5to8 and ScaleColor6to8 macros again, to
fill the low bits correctly.
2003-10-06 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* PerlMagick/t/tiff/read.t: Added 16-color and 256 color
colormapped tests with a matte channel.
* PerlMagick/t/tiff/write.t: Added 16-color and 256 color
colormapped tests with a matte channel.
* coders/tiff.c (WriteTIFFImage): When using LZW compression,
apply the horizontal differencing predictor to RGB truecolor and
deep gray images since the TIFF spec says that LZW compression is
usually improved by using horizontal differencing with continuous
tone images.
Re-implemented grayscale and colormapped scanline preparation to
use the new bit-stream interface. This is a bit slower, but very
flexible, and the implementation is very compact. Writing of a
matte (transparency) channel is now believed to be correct for all
depths.
* magick/command.c (MogrifyImage): Only transform the colorspace
if it has been set (i.e. is not UndefinedColorspace).
2003-10-06 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/png.c (ReadOnePNGImage): PNG decoder would exit too
early when reading image.png[0].
2003-10-05 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* PerlMagick/t/tiff/write.t: Added TIFF write tests for 4
bits-per-sample TIFF images, both with and without a transparency
channel.
* magick/image.c (DescribeImage): Added -verbose support for
displaying individual channel depths.
2003-10-06 Lars Ruben Skyum <lars.skyum@stibo.com>
* magick/image.c (SetImageInfo): cleaned up parsing of subimage
specification (image.psd[0]). It would fail sometimes due to
incorrect reuse of variables. It's a bit strange the code accepts
more range syntax-variations than can be stored in ImageInfo.
2003-10-05 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/image.c (ChannelImage): The OpacityChannel, MatteChannel,
and BlackChannel operations set the matte channel to opaque, so
set image->matte to False for those operations.
(RGBTransformImage): Add an assertion to prevent passing the
colorspace argument `UndefinedColorspace`.
(TransformRGBImage): Add an assertion to prevent passing an image
with colorspace set to `UndefinedColorspace`.
2003-10-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/log.c (LogToBlob): Since MagickSeek(file,0,SEEK_END) is
used to obtain the Blob size, MagickSeek(file,0,SEEK_SET) must be
used to restore the seek position. Thanks to John Cristy for
bringing this to our attention.
2003-10-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/bit_stream.h: Added a bit-stream writer function.
* PerlMagick/t/reference/read/input_tim.miff: Reference image
was defective.
2003-10-03 Lars Ruben Skyum <lars.skyum@stibo.com>
* magick/image.c, magick/image.h: Updated AddCoderOptions to
accept "flag" keys that have no values. They are placed in the
coder options map with an empty, zero length string value. Option
argument syntax is now: "key1[=[value1]],key2[=[value2]],..."
2003-10-03 Lars Ruben Skyum <lars.skyum@stibo.com>
* magick/command.c: Updated +coder-options option to not clear the
entire map of coder options, but accept a list of names to remove
from the map. Use option argument "*" to clear the entire map of
coder options.
* magick/image.c, magick/image.h: Added function
RemoveCoderOptions. Added cast of signed char to unsigned char and
int in calls to isspace and isprint.
* magick/utility.c: Added cast of signed char to unsigned char and
int in calls to isspace and isprint. Added special handling of
+coder-options option in ExpandFilenames function.
2003-10-01 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* PerlMagick/t/reference/read/input_tim.miff: The TIM read results
changed somewhat due to Glenn's ScaleColor5to8 fix.
2003-10-01 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* Revised ScaleColor5to8 and ScaleColor6to8 macros to fill in the
low bytes.
* coders/bmp.c (ReadBMPImage): scaling of 8-8-8-8-bit images was
also slightly incorrect.
2003-09-30 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
* coders/bmp.c (ReadBMPImage): scaling of 5-5-5-bit and 5-6-5-bit
images was slightly incorrect.
2003-09-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/tiff.c (ReadTIFFImage): When using the generic bit-stream
marshaller to read colormapped/gray images, the slight performance
improvement from creating a special case for matte images did not
justify almost doubling the amount of code. Therefore, the two
loops are combined back into one.
2003-09-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/tiff.c (ReadTIFFImage): Fixed reading grayscale TIFFs
that have a transparency channel. Now uses a generic bit-stream
marshaller to allow reading any grayscale or colormapped TIFF with
any bits per sample in the range of 1 to 16.
* magick/bit_stream.h: Added a generic implementation for
marshalling from a bit-stream into a quantum. Still needs
re-writing for best performance.
* PerlMagick/t/tiff/read.t: Added a test case for reading 8-bit
grayscale TIFF with matte. Corrected grayscale 12-bit read
signatures. Added 16 color PseudoClass read test. Added 4-bit
grayscale read test.
2003-09-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/tiff.c (WriteTIFFImage): Add support for writing
DirectClass grayscale images at 4 bits per sample, including those
with an opacity channel. This allows writing smaller files
(half the size) when the image has 16 (or less) levels of gray.
Use "gm convert inimage.tiff -depth 4 outimage.tiff" to quickly
create grayscale TIFF file with 16 (or less) levels of gray.
2003-09-25 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* NEWS: Updated NEWS file with changes since last update.
* index.html: Added a link to the www/AUTHORS.html file, as well
as text stating that GraphicsMagick is originally derived from
ImageMagick 5.5.2, with a link to the ImageMagick site.
* Makefile.am: Add rules to generate www/AUTHORS.html.
* www/AUTHORS.html: New HTML file based on the AUTHORS file in the
source package. GraphicsMagick has many authors.
2003-09-25 William Radcliffe <billr@corbis.com>
* magick/image.c: Updated DescribeImage to cleanup EXIF data display
based on work by Cristy in ImageMagick.
2003-09-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/tiff.c (WriteTIFFImage): Add support for writing
colormapped TIFF images with 1, 2, & 4 bits per colormap index.
This allows writing smaller files.
2003-09-24 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/ps3.c: Now creates a correct %%BoundingBox for images
with resolution stored as pixels per centimeter. Renamed serialize
functions. Added comment headers where they were
missing. Reformatted code to be in alignment with GraphicsMagick
standard formatting.
* magick/map.c: Fixed semaphore double locking problem in
MagickMapCloneMap.
2003-09-23 Mike Chiarappa <mikechiarappa@libero.it>
* BCBMagick/readme.txt : Updated compilation instructions.
* BCBMagick/magick/libMagick.bpr : Updated project, now include map.c.
* BCBMagick/lcms/Projects/BCB6/lcms.bpr : Updated project, now
include cmscam02.c and cmsvirt.c. Much thanks to Alex Dvoretsky
for bringing this problem to my attention.
2003-09-23 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/image.h (Image): Moved private members to bottom of
structure.
(_ImageInfo): Moved private members to bottom of
structure.
* magick/Makefile.am (pkginclude_HEADERS): Don't install
semaphore.h.
(noinst_HEADERS): Distribute map.h and semaphore.h.
* magick/image.h (ImageInfo): Change coder_options member from
type `MagickMap` to type `void *`.
* coders/png.c: include magick/semaphore.h.
* magick/blob.c: include magick/semaphore.h.
* magick/color.c: include magick/semaphore.h.
* magick/constitute.c: include magick/semaphore.h.
* magick/delegate.c: include magick/semaphore.h.
* magick/log.c: include magick/semaphore.h.
* magick/magic.c: include magick/semaphore.h.
* magick/magick.c: include magick/semaphore.h.
* magick/module.c: include magick/semaphore.h.
* magick/semaphore.c: include magick/semaphore.h.
* magick/stream.c: include magick/semaphore.h.
* magick/tempfile.c: include magick/semaphore.h.
* magick/type.c: include magick/semaphore.h.
* magick/blob.h (_BlobInfo): Changed `Semaphore *` to `void *`.
* magick/cache.h (_CacheInfo): Changed `Semaphore *` to `void *`.
* magick/image.h (_Image): Changed `Semaphore *` to `void *`.
* magick/command.c: Updated each invokation of MagickMapAddEntry()
to add an exception argument.
* tests/maptest.c: Updated to pass an exception argument to
MagickMapAddEntry.
* magick/image.c (AddCoderOptions): Added exception argument
and some more error handling.
* magick/map.c: Added formal documentation for methods.
(MagickMapCloneMap): Added exception argument.
(MagickMapAddEntry): Added exception argument and status.
2003-09-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* coders/emf.c: Changed NotAnEMFFile to ImproperImageHeader.
* magick/map.h: Changed all size parmeters from type `unsigned
long` to `size_t`.
* magick/map.c (MagickMapCopyBlob): Add new function to support
copying a Blob in a MagickMap.
(MagickMapDeallocateBlob): Add new function to support
deallocating a Blob in MagickMap.
2003-09-23 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/ps3.c: Fixed handling the case when no -coder-options are
provided to the PS3 coder.
2003-09-22 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/ps3.c: Changed %%Creator version to use
MagickLibVersionText, increased precision in HiResBoundingBox,
added a coder specific option for rendering bilevel images with
the PS imagemask operator indstead of the image operator.
* magick/command.c: Added "-coder-options" command line argument
to all relevant command line utilities. Option argument to
-coder-options is a list of comma separated key-value pairs that
are saved in a MagickMap in ImageInfo for (de-)coders to use. See
PS3 coder for an example that checks for: -coder-options
"ps:image=imagemask"
* magick/image.c, magick/image.h: Added function AddCoderOptions().
* magick/map.c, magick/map.h: removed MS-DOS line terminators.
2003-09-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tests/maptest.c (main): Test/demo program for key,value map API.
* magick/map.c, magick/map.h: Implementation of a key,value map
API for internal use.
2003-09-19 William Radcliffe <billr@corbis.com>
* lcms/include/icc34.h lcms.h: Added back the icc34.h header and
changes to make lcms compile on Win32" icc34.h lcms.h.
2003-09-19 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/ps3.c: Fixed warnings from Solaris compiler.
2003-09-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* locale/C.mgk: Eliminated the many "NotA" messages since they may
all be considered forms of "ImproperImageHeader". It is useful to
provide the origin of such messages in case the wrong coder has
been invoked, however, this is expensive to do via the message
database since it explodes the number of messages. The exception
logging can help here. Once the exception reports include the
reporting entity, it will be more clear when the software
misbehaves.
* magick/error.h (ThrowReaderException2): Remove since no longer
used.
(ThrowReaderException): Simplified implementation so that
ThrowException is not expanded twice.
* magick/error.h (ThrowReaderException3): Remove since never used.
* coders/xtrn.c (ReadXTRNImage): Use ThrowReaderException rather
than ThrowReaderException2.
* locale/C.mgk (MissingArgument) Updated to include %s so that the
description field appears earlier in the message.
* magick/error.c (DefaultErrorHandler): Added a hack to allow the
`reason` member to include a %s so that it may specify the
formating of the message. Care should be taken to not over-use
this hack.
2003-09-18 Lars Ruben Skyum <lars.skyum@stibo.com>
* coders/ps3.c: Major update of the PS3 coder. Now ascii85 encodes
all binary data. Many printer spoolers don't like the binary
data. The coder now creates much smaller files for bilevel, gray,
and colormapped images. Compression and image type is now
separated so they may be combined independently. Any alpha channel
is separated into a separate mask so it's possible to mask
bilevel, gray, colormapped, rgb, and CKYK images. You may also
mask a JPEG compressed PS file for instance. Clipping masks
created from a photoshop clipping path with -clip option is
converted to a corresponding postscript clipping path. New
functions need comment headers.
* magick/attribute.c: Added TracePSClippingPath for creating a
postscript clipping path from a photoshop clipping path.
* magick/compress.c, magick/compress.h: Added write-hook based
interface to compression functions. Required for ascii encoding
compressed, binary data. The interface between blob write
functions, compression functions, and encoding functions could
benefit from more of this work.
* magick/image.c: ClipPathImage now stores the name of the
clipping path in the mask image filename so that it is remembered
and may be used for creating a postscript clipping path for
postscript output.
* coders/modules.mgk: Added EPS3 mapping to module PS3.
2003-09-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* magick/command.c: Coalesced various "Missing" error reports into
one "MissingArgument" error report in order to reduce the number
of messages to be maintained.
* locale/C.mgk: Removed almost all "Missing" messages.
* magick/gm_messages.mc: Added Microsoft message compiler source
file to CVS until which time it may be generated automatically
during the build.
2003-09-16 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>