freetype-config might not be available, allow pkg-config to work
[imager.git] / announce / 0.44.txt
CommitLineData
cf0a52b8
TC
1Imager 0.44 has been released and will soon be available on all CPAN
2mirrors.
3
4This is primarily a bug-fix release. The following issues have been
5fixed:
6
7- reading or writing any TIFF image would produce a run-time error
8 with recent versions of tifflib.
9
10- Imager would fail to link or load (platform dependently) if built
11 with the IM_NOLOG option
12
13- the Win32 bounding_box() function would return the wrong number of
14 values
15
16- the pnm (pbm, pgm, ppm) reader would read the maximum sample value
17 entry (maxval) from the pnm file and then ignore that value. This
18 meant that images with a maximum sample below 255 would be stored
19 darked than they were meant to be. Note that Imager cannot
20 currently read binary pnm images with a maxval > 255.
21
22- attempting to convert a 3 channel image to a paletted image could
23 result in a segmentation fault if an empty target palette was
24 supplied. This could also occur in the implicit RGB => paletted
25 conversion done when writing a GIF image.
26
27- the setcolors() method wasn't correctly returning false on failure
28 (due to an XS error)
29
30- supplying a sufficiently small scaling value to the scale() method
31 could result in a zero width or height image.
32
33- the scale() method now produces a warning when called in void
34 context
35
36- Makefile.PL now handles spaces in the INCLUDE and LIB environment
37 variables on Win32
38
39- write() didn't return false on failure to write a GIF image
40
41- if you called crop() with parameters other than the basic left,
42 right, top, bottom to specify the source rectangle, the result was
43 usually suprising. The crop() documentation has been rewritten.
44
45- the glyph_names() method usually crashed if the string parameter
46 wasn't supplied.
47
48- the glyph_names() method would ignore all but the bottom 8 bits of
49 unicode characters.
50
51- there was a memory leak when using callbacks for reading/writing
52 images
53
54- in some cases the incorrect generated palette was returned when
55 writing a GIF image.
56
57- the BMP reader had many bugs.
58
59- reading a PNG file would set the i_yres tag to the horizontal
60 resolution of the image
61
62- all image readers now handle image sizes that would result in an
63 integer overflow by returning failure rather than by a segmentation
64 fault.
65
66- renamed io.h to imio.h to avoid a conflict on cygwin.
67
68New features:
69
70- you can now supply a background color for the rotate() and
71 matrix_transform() functions.
72
73- Imager::Color methods now have an equals() method.
74
75- Imager now includes a builtin colors table, usable by the builtin
76 parameter or as a final fallback for the name parameter.
77
78- the i_format tag is now set when reading an image to the format of
79 the image
80
81- the BMP file reader now sets more tags in the resulting image
82
83Documentation changes:
84
85- document that the most recent libungif is fixed and the most recent
86 giflib is still broken. (README and other places)
87
88- added a method index to Imager.pm