document setsamples() new capabilities
[imager.git] / Changes
CommitLineData
7623d340
TC
1Imager release history. Older releases can be found in Changes.old
2
43bef43b
TC
3 - describe how to build libgif etc on OS X in such a way as to be
4 compatible with a fat binary perl (such as the system perl), in
5 README.
6 https://rt.cpan.org/Ticket/Display.html?id=73371
7
69675eef
TC
8 - update the change notes for 0.77_01 to indicate that libungif
9 support was removed.
10
d4056453
TC
11 - add some other imaging modules to SEE ALSO
12 https://rt.cpan.org/Ticket/Display.html?id=73906
13
3b7f10da
TC
14 - note that the generator of the apparently non-DFSG-free postscript
15 in MMOne.pfb is a Debian package.
16
ef74691a
TC
17Bug fixes:
18
19 - correctly calculate the size of a rotated image
20 https://rt.cpan.org/Ticket/Display.html?id=69261
21
22 - fix incorrect rounding of color values for matrix_transform() and
23 rotate().
24 https://rt.cpan.org/Ticket/Display.html?id=69261
25
5091168a
TC
26 - Win32 text output is now done in normal combine mode, the alpha
27 component of the color is now significant.
28 https://rt.cpan.org/Ticket/Display.html?id=70014
29
fa0b1452
TC
30 - remove long unused gif case from read()
31 https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
32
7640e3bb
TC
33 - the getsamples() target parameter was being treated as a hashref
34 when it's meant to be an array reference.
35 https://rt.cpan.org/Ticket/Display.html?id=74882
36
fcc81fa4 37Imager 0.87 - 03 Jan 2012
f0f6c630
TC
38===========
39
c18dd26e
TC
40 - document the return value of the filter() method.
41 https://rt.cpan.org/Ticket/Display.html?id=72369
42
48095bd4
TC
43 - document i_gsamp_bits() and i_psamp_bits().
44 https://rt.cpan.org/Ticket/Display.html?id=68815
45
f5b90025
TC
46 - properly increment the Imager::Matrix2d $VERSION.
47
35f2f9fb
TC
48 - actually include the Imager::Test tests in the dist
49
2fe1e4bc
TC
50 - correctly read and write 256x256 pixel ICO files
51 https://rt.cpan.org/Ticket/Display.html?id=69599
52
4f21e06e
TC
53 - make the error message from read() or read_multi() when they can't
54 identify the file type match reality.
55 https://rt.cpan.org/Ticket/Display.html?id=72475
56
57 - read() now uses $FORMATGUESS if it can't determine the file type
58 based on the file header, to match read_multi().
59
60 - re-work and add tests for def_guess_type(). def_guess_type() no
61 longer returns any random file extension as the file type.
62
5e9a7fbd
TC
63 - add gray4, gray16 and gray as presets for make_colors.
64 https://rt.cpan.org/Ticket/Display.html?id=67911
65
66 - add make_palette() method that produces a palette from one or more
67 images.
68
32d74dbe
TC
69 - fix the Imager dependency for the separately distributed font
70 drivers.
71 https://rt.cpan.org/Ticket/Display.html?id=72643
72
a044f2c6
TC
73 - fix i_render_color() to properly draw in "normal" mode - ie. when
74 writing to a 1 or 3 channel image the second or fourth channel of
75 the source color was being ignored, it is now significant.
76 https://rt.cpan.org/Ticket/Display.html?id=71564
77
4b2e59d3
TC
78Imager 0.86 - 31 Oct 2011
79===========
80
b8b889ba
TC
81 - improve error reporting for W32 tests
82
6f7a49a2
TC
83Imager 0.85_02 - 24 Oct 2011
84==============
a10ce62e
TC
85
86Bug fixes:
87
88 - eliminate unused i_gif_opts type (clean-up)
89 https://rt.cpan.org/Ticket/Display.html?id=69245
90
98e1552d
TC
91 - fix combine=0 fill color anti-aliasing on the double/sample path
92 https://rt.cpan.org/Ticket/Display.html?id=71309
93
94 - make default text color non-transparent
95 https://rt.cpan.org/Ticket/Display.html?id=71469
96
372ba12c
TC
97 - apply the last of the Debian unforwarded spelling fixes
98 https://rt.cpan.org/Ticket/Display.html?id=70656
99
b7506a07
TC
100 - the log() method used its message parameter as a C level format
101 string.
102 https://rt.cpan.org/Ticket/Display.html?id=71653
103
cb4d223c
TC
104 - provide our own STRLEN typemap entry for older perls.
105 https://rt.cpan.org/Ticket/Display.html?id=71641
106
f35d1231
TC
107 - add extra ppport.h configuration to support older perls.
108
954ac5d1
TC
109 - depend on Scalar::Util, since we use it and older perls don't have
110 it.
111
5efba0c6
TC
112 - add overloaded eq to Imager::Matrix2d, since older perls don't seem
113 to synthesize it from overloaded "".
114
73e3ff55
TC
115 - use T1_StrError() for error messages on modern libt1
116 https://rt.cpan.org/Ticket/Display.html?id=69879
117
118 - actually load the font rather than just adding it to the catalog on
119 creation.
120
121 - Imager::Font->new now produces better error messages for the T1
122 engine.
123
6e938c74
TC
124 - the font has_chars() method now returns perl's true and false
125 values in list context rather than integers, which should be more
126 efficient.
127 https://rt.cpan.org/Ticket/Display.html?id=69158
128
b934971a
TC
129 - the btm data structure used by the flood_fill code is now
130 initialized more efficiently.
131 https://rt.cpan.org/Ticket/Display.html?id=68994
132
872def8b
TC
133 - updated the Thanks list in README
134 https://rt.cpan.org/Ticket/Display.html?id=71607
135
1e0418f1
TC
136 - check there's at least one coefficient for the convolution filter
137 https://rt.cpan.org/Ticket/Display.html?id=68993
138
81409c5e
TC
139 - make the APIRef synopsis ordering consistent, older versions of
140 perl could order it differently.
141 https://rt.cpan.org/Ticket/Display.html?id=71675
142
336ce474
TC
143 - we rely on Config.pm's d_vsnprintf as to whether we use
144 vsnprintf/snprintf, which is defined in the Win32 Config.pm even
145 though it only has _ prefixed versions of these. Define our own
146 prefixed names on Win32.
147 https://rt.cpan.org/Ticket/Display.html?id=71642
148
ae394c13
TC
149 - fix library detection with MSVC
150
84e2cc94
TC
151 - search a few more library directories, so EU::MM doesn't discard
152 them. Hopefully fixes:
153 https://rt.cpan.org/Ticket/Display.html?id=71643
154
31be6e9a 155Imager 0.85_01 - 10 Oct 2011
6d5c85a2 156==============
a7e32beb
TC
157
158 - add simple tests for the Imager::Test test_image generators
159
6d5c85a2
TC
160 - io_glue I/O buffering re-work:
161
162 - reorganize io_glue to do it's own buffering by default
163
164 - the unbuffered functions are available as i_io_raw_read() (or
165 raw_read() from perl) etc but are not recommended for typical
166 use.
167
168 - use the new i_io_peekn() when checking for file magic to avoid
169 seek, allowing Imager to detect the file type and read the file
170 from an unseekable stream (for formats that don't use random
171 access)
172
173 - added several new I/O layer API functions.
174
175 - fix the TGA performance problem, most noticably on Win32
176 https://rt.cpan.org/Ticket/Display.html?id=70037
177
178 - TIFF now uses wrapper functions of the correct types to avoid casts
179 https://rt.cpan.org/Ticket/Display.html?id=69912
180
181 - the callback IO object did its own buffering, controlled by the
182 maxbuffer parameter supplied to the read() and write() methods.
183 This buffering has been removed, to avoid redundancy with the
184 common io_glue buffering. This also avoids a bug in that code
185 which could rarely pass a zero length to the read callback and
186 then panic about the result.
187
188 - the callback IO object now tests the result of calling the close
189 callback, which should return true for success.
190
191 - the PNM reader did its own buffering. This buffering has been
192 removed to avoid redundancy with the common io_glue buffering.
193
194 - previously the read handlers for fd and callback I/O layers would
195 call the underlying interface (POSIX read or your supplied callback)
196 until it filled the buffer. It now only makes one call.
197
198 - added public constructors for I/O layer objects (see Imager::IO)
199
200 - all core file handlers now use the i_io_foo() wrappers to gain
201 access to buffered I/O rather than calling the I/O layer
202 callbacks directly.
203
204 - all core file handlers now check for error on close.
205
206 - Backward compatibility: if you hava custom file handlers, you can
207 use i_io_write() etc since they're available as macros in older
208 versions of Imager.
209
210 - eliminate the final remnants of io_glue_commit_types().
211
212 - bump IMAGER_API_VERSION, since the above may break assumptions.
213
214 - removed the long unused i_gen_reader() and i_gen_writer() utility
215 functions.
216
0c647c9a 217Imager 0.85 - 29 Aug 2011
6ad7e4bc
TC
218===========
219
0c647c9a
TC
220The main changes in the release versus 0.84 are:
221
222 - on 64-bit systems, 64-bit types are consistently used for image
223 dimensions and co-ordinated, and for memory block sizes.
224
225 - handle IFD loops in TIFF files correctly. Previously this would
226 lead to an infinite loop.
227
6ad7e4bc
TC
228Bug fixes:
229
230 - fix the link in the getheight() entry in the method index
231
7ef6338c
TC
232Imager 0.84_02 - 22 Aug 2011
233==============
234
235Development release, this will become 0.85 if CPAN testers is
236favourable.
6b7197d0
TC
237
238Bug fixes:
239
240 - the image file limits set by set_file_limits() weren't being
241 checked when reading TIFF files.
242 https://rt.cpan.org/Ticket/Display.html?id=69915
243
5970bd39
TC
244 - Provide more information about file format module load errors on a
245 failed image file read() or write().
246 https://rt.cpan.org/Ticket/Display.html?id=69194
247
4ce3551c
TC
248 - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
249 through TIFF images, since it checks for IFD loops.
250 https://rt.cpan.org/Ticket/Display.html?id=69914
251
a16bca6d
TC
252 - don't leak memory when out of range palette indexes are supplied to
253 setscanline().
254 https://rt.cpan.org/Ticket/Display.html?id=69242
255
256 - require a later version of CPAN::Meta to ensure JSON::PP and
257 CPAN::Meta::YAML are available.
258 https://rt.cpan.org/Ticket/Display.html?id=69008
259
ac575c5f
TC
260 - hoist the per-line calculations for the flines implementations, and
261 modernize the tests a bit.
262 https://rt.cpan.org/Ticket/Display.html?id=70126
263
86c8d19a
TC
264 - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
265 them when available.
266 https://rt.cpan.org/Ticket/Display.html?id=69147
267
a3fd7df7
TC
268 - if t1lib failed to reinitialize it would be left as marked
269 initialized.
270 https://rt.cpan.org/Ticket/Display.html?id=69877
271
5fd542c7
TC
272 - update the bundled (and still modified) Devel::CheckLib
273 https://rt.cpan.org/Ticket/Display.html?id=69170
274
fa61d195
TC
275Imager 0.84_01 - 8 Aug 2011
276==============
277
278Development release as a sanity check for the types re-work.
8d14daab
TC
279
280Massive types re-work:
281
282 - the type used internally for pixel co-ordinates and image sizes is
283 now 64-bit on 64-bit platforms (at least sane ones).
284
285 - size_t is now used consistently for memory block sizes.
286
287 - since this changes the binary interface, the Imager API version has
288 been incremented. Any module that uses the API will need to be
289 rebuilt. In most cases that will be enough, but calls to any APIs
290 that take a pointer to image sizes may need source changes.
291
292 - you should be able to create very large images on 64-bit systems,
293 if you have enough memory. Successfully created a 32768 x 49192 x
294 3 channel image, filled with a tiled image and scaled it. The
295 unscaled image was also successfully saved to a JPEG.
296
297 - check the image size before attempting to write BMP, GIF, JPEG,
298 PNG, SGI, TGA, TIFF images.
299
300 - correctly handle reading TGA images over 32767 pixels wide or tall.
301
302Incidental changes:
303
304 - the gif_left and gif_top tags are now clamped to non-negative
305 values when writing a GIF image.
306
307 - removed dead callback read/write code
308
309The default maximum memory size when reading files is now 1G.
310
bd80e51e 311Imager 0.84 - 20 Jun 2011
b1e66a82
TC
312===========
313
314 - Imager no longer inherits from Exporter (unless you're running an
315 old, old perl.
316
92e9df65
TC
317 - Imager can now write progressive JPEGs (it could always read them).
318 https://rt.cpan.org/Ticket/Display.html?id=68691
319
10ea52a3
TC
320Bug fixes:
321
322 - re-work, document and test Imager's logging facility.
323 https://rt.cpan.org/Ticket/Display.html?id=65227
324
4989229f
TC
325 - fix META.yml testing and the generated META.yml
326 https://rt.cpan.org/Ticket/Display.html?id=65235
327
3bcba6df
TC
328 - test and add error reporting to to_*() family methods
329
bfe6ba3f
TC
330 - add to_rgb_double() method.
331 https://rt.cpan.org/Ticket/Display.html?id=65101
332
e1a42e19
TC
333 - Imager no longer exports anything by default
334 https://rt.cpan.org/Ticket/Display.html?id=65228
335
6d068d36
TC
336 - convert colors to grayscale if the supplied (or generated) palette
337 contains only grays when performing error diffusion color
338 translation.
339 https://rt.cpan.org/Ticket/Display.html?id=68508
340
59c150a4
TC
341 - writing a paletted image to GIF wouldn't always use the colors
342 supplied (or generated, eg. via make_colors => "mono"), which was
343 confusing at best.
344 https://rt.cpan.org/Ticket/Display.html?id=67912
345
5b480b14
TC
346 - replace (imager|tony)@imager.perl.org in the doc, since I don't
347 plan to continue receiving mail at that address.
348 https://rt.cpan.org/Ticket/Display.html?id=68591
349
101861e2 350Imager 0.83 - 21 May 2011
46c21d48
TC
351===========
352
353Bug fixes:
354
355 - diag() the error message on failure for some TIFF tests that are
356 failing on a Solaris smoker.
357 http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
358
cd758af2
TC
359Imager 0.82_01 - 17 May 2011
360==============
361
362Dev release, in case the compose tests are too sensitive.
deb1a916
TC
363
364Bug fixes:
365
366 - Imager::Font::T1 incorrectly checked for absolute filename under
367 Win32. Thanks to kmx for the report and fix.
368 https://rt.cpan.org/Ticket/Display.html?id=67963
369
618a3282
TC
370 - compose() with the target, source or mask position off the top or
371 left of the target image didn't clip the source image correctly.
372 https://rt.cpan.org/Ticket/Display.html?id=67220
373
374 - compose() now returns a useful error message on a non-positive
375 opacity.
376
377 - compose.im now at 100% test coverage. (As opposed to, umm, much,
378 much less.)
379
c1d16c8f 380Imager 0.82 - 14 Mar 2011
2368cfec
TC
381===========
382
383Bug fixes:
384
385 - eliminate calls to i_has_format() from the test suite, since it's
386 no longer a useful way to check for file format support. Eliminate
387 i_has_format() from the functions exposed via XS.
388 https://rt.cpan.org/Ticket/Display.html?id=65863
389
7540f84a
TC
390 - eliminate calls to note(), which isn't in the (very old) version of
391 Test::More we have as a pre-requisite. note() is modern enough
392 that I don't feel a need to require a Test::More upgrade for it.
393 https://rt.cpan.org/Ticket/Display.html?id=65864
394
81984f30
TC
395 - skip the threads tests on Test::More 2.00_*
396 https://rt.cpan.org/Ticket/Display.html?id=65812
397
57fc3f48
TC
398 - add an (unshipped) test to check Imager's internal POD links
399 https://rt.cpan.org/Ticket/Display.html?id=65749
400
d97c8dbd
TC
401 - improve the library detection summary
402 https://rt.cpan.org/Ticket/Display.html?id=9675
403
c901f27d
TC
404 - increase the version of Imager::Font::Type1 so that upgrades don't
405 downgrade the version in this file.
406 https://rt.cpan.org/Ticket/Display.html?id=66250
407
408 - if we see an -rpath (or -R) option in $Config{lddlflags} supply
409 that option for the directories that would normally go in
410 LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH.
411 https://rt.cpan.org/Ticket/Display.html?id=65955
412
533bab3e 413Imager 0.81 - 14 Feb 2011
416e9814
TC
414===========
415
416 - added coverage tests for masked images (maskimg.c @100% test coverage)
417
9ea78101
TC
418 - add hsv() method to Imager::Color
419 Thanks to Leolo (Philip Gwyn)
420 https://rt.cpan.org/Ticket/Display.html?id=65385
421
1f289f50
TC
422 - split libt1 Type 1 font support into a sub-module
423 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
424
2c331f9f
TC
425 - add a preload() class method for use in forking servers, and to
426 work around limitations in PAR.
427 https://rt.cpan.org/Ticket/Display.html?id=65665
428
416e9814
TC
429Bug fixes:
430
431 - paletted writes to a masked image are now masked correctly.
432 Revealed by new coverage tests.
433
130225b1
TC
434 - update the filter plugin documentation.
435 https://rt.cpan.org/Ticket/Display.html?id=56513
436
4326b23a 437 - add the matrix() method to Imager::Matrix2d to allow creation of a
a34dc54c
TC
438 matrix with specified co-efficients. You can now multiple an
439 Imager::Matrix2d object by a 9 element array ref or a number.
4326b23a
TC
440 https://rt.cpan.org/Ticket/Display.html?id=29938
441
9ea78101
TC
442 - really fix loading TTF fonts with FT2 when FT1 isn't available.
443 Thanks to Leolo (Philip Gwyn)
444 https://rt.cpan.org/Ticket/Display.html?id=65386
445 https://rt.cpan.org/Ticket/Display.html?id=62855
446
40e78f96
TC
447 - make sure each test script that needs testout/ creates it.
448 https://rt.cpan.org/Ticket/Display.html?id=65088
449
afee75f6
TC
450 - handle a slightly different warning from libtiff 4.x
451 https://rt.cpan.org/Ticket/Display.html?id=65268
452
52b0d318
TC
453 - the sat transform2() op returned an incorrect saturation.
454 https://rt.cpan.org/Ticket/Display.html?id=65391
455
d33f20c1 456Imager 0.80 - 17 Jan 2011
95c08d71
TC
457===========
458
9a5df694
TC
459 - added coverage tests for Imager::Fountain and Imager::Color::Float
460
461 - Imager is now maintained in git
462 http://git.imager.perl.org/imager.git
463 git://git.imager.perl.org/imager.git
464
95c08d71
TC
465Bug fixes:
466
467 - images with an translucent alpha channel were not scaled correctly
468 by the default (qtype=normal) scaling method.
469 https://rt.cpan.org/Public/Bug/Display.html?id=63922
470
34c03f04
TC
471 - Imager::Color::Float now translates "#FFFFFF" to white instead of
472 just a little darker.
473
9a5df694
TC
474 - make the default color map build algorithm "mediancut". This
475 changes the default color map builder for writing GIFs back to what
476 it was in 0.77, reverting a performance regression.
0348fe07
TC
477 https://rt.cpan.org/Ticket/Display.html?id=64785
478
416e9814
TC
479 - handle failure to create a masked image correctly
480
95c08d71 481Imager 0.79 - 10 Dec 2010
62869327
TC
482===========
483
484 - add Imager::Test to the POD coverage tests and document the missing
485 functions.
486
2a2c791f
TC
487 - the convert() method now optimizes the case where all output
488 channels are either 0, sourced from a single input channel or 1.
489 This significantly speeds up presets like "addalpha", "green".
490 https://rt.cpan.org/Ticket/Display.html?id=51254
491
b5c0ab7f
TC
492 - add wiggle.pl sample, as suggested by Dan Oppenheim.
493
b47464c1
TC
494 - add the combine() method to combine channels from multiple source
495 images into a new image
496 https://rt.cpan.org/Ticket/Display.html?id=11872
497
62869327
TC
498Bug fixes:
499
500 - treat the co-efficients for convert() as doubles instead of floats.
501
d67dd866
TC
502 - If a higher (earlier) priority font handler failed to load, that
503 would crash preventing loading of later font handlers.
9413a3f3
TC
504 https://rt.cpan.org/Ticket/Display.html?id=62855
505
a9120a5e
TC
506 - parse defines from the options returned by pkg-config --cflags
507 https://rt.cpan.org/Ticket/Display.html?id=63223
02f040a6
TC
508
509 - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
510 included in the tarball. They are now included.
a9120a5e 511
893474f1 512Imager 0.78 - 4 Oct 2010
f5b4354e
TC
513===========
514
515Bug fixes:
516
517 - don't access deprecated members of the png_structp.
518 https://rt.cpan.org/Ticket/Display.html?id=60242
519
8289f78b
TC
520 - document that using color objects is faster than supplying colors
521 by name, etc.
522 https://rt.cpan.org/Ticket/Display.html?id=61047
523
0c3c1180
TC
524 - Imager::Probe now accepts array references for incpath and libpath.
525 https://rt.cpan.org/Ticket/Display.html?id=60244
526
b6035795 527Imager 0.77_02 - 27 Sep 2010
aca4e30a
TC
528==============
529
95b9922f 530 - moved Win32, FreeType 2 font support into sub-modules.
aca4e30a
TC
531 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
532 Uses Imager::Probe now.
533 https://rt.cpan.org/Public/Bug/Display.html?id=61328
534
c6683e4d
TC
535 - tested successfully with jpeg-8b
536 https://rt.cpan.org/Ticket/Display.html?id=60221
537
e85532b9
TC
538Bug fixes:
539
540 - from _01: look for missing file support test files in the right
541 places.
542
353eb6e7
TC
543 - flood_fill() wouldn't fill the right side of a single scan-line
544 fill area.
545 Thanks to Nicolas Roggli for reporting this.
546
95b9922f
TC
547 - flood_fill wouldn't fill to the left edge of the image if the
548 starting line didn't reach the left edge.
549 Thanks to Nicolas Roggli for reporting this.
550
beb9ba23
TC
551Imager 0.77_01 - 13 Sep 2010
552==============
82f14556
TC
553
554 - add each library-directory/pkgconfig/ to the pkg-config search path
555 in Imager::Probe.
556 Thanks to Justin Davis.
557 https://rt.cpan.org/Ticket/Display.html?id=60491
558
8ab27e7e
TC
559 - moved GIF, TIFF, JPEG file handling code into sub-modules in
560 preparation for separate distribution.
ec6d8908
TC
561 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
562
69675eef
TC
563 Note: this removed support for libungif from Imager.
564
173c91ba
TC
565 - optimize filled box drawing (color, not fill)
566
82f14556
TC
567Bug fixes:
568
569 - Imager::Probe was calling ExtUtils::Liblist to initialize
570 LD_RUN_PATH supplying an undefined value rather than the found
571 directory. Thanks to Justin Davis.
572 https://rt.cpan.org/Ticket/Display.html?id=60491
573
b851aeeb
TC
574 - only prepend ./ to font filenames when passing them to T1Lib and
575 then only when it would use its search mechanisms.
576 https://rt.cpan.org/Ticket/Display.html?id=60509
577
173c91ba 578 - fix the cache check for the X rgb.txt loader. This is typically
cb4f51d6
TC
579 used for color translation on Unix-like systems, and the fix
580 improves performance of supplying colors by name by about 80 times.
581 Test code that managed 3400 10x10 pixel boxes/second sped up to
582 25700 boxes/second.
b851aeeb 583
d3a96113
TC
584 - clarify that Imager doesn't write EXIF metadata to images.
585 https://rt.cpan.org/Ticket/Display.html?id=60637
586
587 - Imager::Probe can now search subdirectories under its include path.
588 Used by the PNG Makefile.PL to find headers and libraries when they
589 aren't in the base directory, as in cygwin.
590 https://rt.cpan.org/Ticket/Display.html?id=60635
591
43452432
TC
592Imager 0.77 - 11 Aug 2010
593===========
594
595I don't want Imager::File::PNG indexed as part of Imager, but forgot
596to update the META.yml before updating the version.
597
598 - don't index Imager::File::PNG as part of Imager
599
600 - add resources to META.yml
601
602Imager 0.76 - not released
120f4287
TC
603===========
604
605Bug fixes:
606
607 - the align_string() method would ignore a string of "0" due to a
608 mis-use of C< ||= >.
609 Thanks to Maurice Height for reporting this.
610 https://rt.cpan.org/Ticket/Display.html?id=60199
611
0e66b07f
TC
612Imager 0.75_03 - 09 Aug 2010
613==============
614
615Bug fixes:
616
617 - read_types() and write_types() would include png when it wasn't
618 available due to a problem with the %formats tie
619
620 - handle dependent libraries correctly (eg -lpng requiring -lz) in
621 the code run phase of library probing.
622
7ac2e52e
TC
623Imager 0.75_02 - 07 Aug 2010
624==============
625
626Bug fixes:
627
628 - add file missing from MANIFEST, which was causing TIFF failures.
629
496ea64d
TC
630Imager 0.75_01 - 06 Aug 2010
631==============
632
633Test release for the new PNG probe.
75812841 634
a596d4f6
TC
635 - added the ability to read multiple-image PNM files.
636 Note that unlike the pbm/pgm/ppm specification this accepts mixed
637 format files and allows white space padding between files.
638 Thanks to Philip Gwyn (Leolo) for this patch.
639
1d7e3124
TC
640 - moved the PNG file handling code into a sub-module in preparation
641 for separate distribution.
642 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
643 Also helps avoid complications from -I/-L compile/link options from
644 other libraries.
645
75812841
TC
646Bugs:
647
648 - Imager->new(data => $data) didn't try to process image file data in
649 $data
650 https://rt.cpan.org/Ticket/Display.html?id=58761
651
b6071a43
TC
652 - t/t50basicoo.t no longer depends on the other tests to generate its
653 input files.
654 https://rt.cpan.org/Ticket/Display.html?id=9798
655 Also, it wasn't testing pnm (pnm vs ppm mix-up)
656
a9da425a
TC
657 - update the documentation of hardinvert to match the change in 0.62.
658 https://rt.cpan.org/Ticket/Display.html?id=59785
659
5558f899
TC
660 - added hardinvertall filter which also inverts the alpha channel
661 (sorry for the mess)
662
10b85929
TC
663 - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
664 the probe can find the library for the test run.
665 https://rt.cpan.org/Ticket/Display.html?id=57518
666
75812841 667Imager 0.75 - 20 Jun 2010
b13a3ddb
TC
668===========
669
670 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
671 perls (not measured)
672
46e2e4a3
TC
673Bugs:
674
8c194049
TC
675 - an opacity fill based on a fountain fill would segfault when
676 filling an 8-bit/sample image.
677
1c5252ed
TC
678 - merge thickline branch polygon fix
679 https://rt.cpan.org/Ticket/Display.html?id=43518
680
41c88ecd 681Imager 0.74 - 7 May 2010
8d46e5da
TC
682===========
683
684Bug fixes:
685
686 - read_multi() didn't handle a missing file format library correctly,
687 aborting on failing to call i_readgif_multi_wiol() or
688 i_readtiff_multi_wiol().
689
5715f7c3
TC
690 - fix spelling errors patched by Debian
691 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
692
693 - add an (unshipped) author test to spellcheck Imager's POD.
7468f3fa 694
38218f79
TC
695 - update the TIFF file format documentation
696 https://rt.cpan.org/Ticket/Display.html?id=56510
697
e17da819
TC
698 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
699
704f12d5 700Imager 0.73 - 15 Mar 2010
40068b33
TC
701===========
702
703 - implement outline circles, both anti-aliased and not
704 https://rt.cpan.org/Ticket/Display.html?id=19755
705
e958b64e
TC
706 - a combine => "none" fill to a 1 or 3 channel image would produce
707 the incorrect colour.
708
b2db3662
TC
709Imager 0.72 - 09 Dec 2009
710===========
711
712Bump version for release, since 0.71_03 is stable with CPAN testers.
713
6936706b
TC
714Imager 0.71_03 - 5 Dec 2009
715==============
716
717 - further adjust the threads test so it only performs the tests on
718 perls where it's expected to work, and only if the threads module
719 can be loaded.
720
0750777c
TC
721Imager 0.71_02 - 1 Dec 2009
722==============
723
48ad0e66
TC
724 - adjust the way we load the threads module for the threads test so
725 it works with non-threaded perls
0750777c 726
b89f0fcd 727Imager 0.71_01 - 30 Nov 2009
e41cfe8f
TC
728===========
729
730Bug fixes:
731
732 - use scanline oriented operations to flip images instead of pixel
733 operations
734 https://rt.cpan.org/Ticket/Display.html?id=39278
735
736 - use double/sample operations to flip large sample images instead of
737 8-bit sample operations.
738 https://rt.cpan.org/Ticket/Display.html?id=39280
739
de3ca2fd
TC
740 - fix POD nits
741 https://rt.cpan.org/Ticket/Display.html?id=51874
742
ffddd407
TC
743 - prevent double-frees when someone creates Imager objects and then
744 creates a thread. Note: this just handles some simple cases,
745 Imager doesn't support perl threads, and isn't likely to.
746 https://rt.cpan.org/Ticket/Display.html?id=52268
747
3517794b 748Imager 0.71 - 16 Nov 2009
6a3cbaef
TC
749===========
750
a16bae72
TC
751 - add the opacity fill type - an adaptor that modifies the opacity of
752 another fill.
753
6a3cbaef
TC
754Bug fixes:
755
756 - the conv filter now enforces that the sum of the coefficients is
757 non-zero. Also, rather than skipping pixels off the edge off the
758 edge of the image, the closest edge pixel is used. Previously
759 dividing by the zero sum of coefficients could cause invalid
760 results or runtime exceptions.
761 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
762 this bug.
763
189d5775 764Imager 0.70 - 21 Sep 2009
2b82e731
TC
765===========
766
767Bug fixes:
768
769 - release image row and comments memory on all error returns in gif
770 reader
771
772 - handle zero length extensions, previously this would cause a null
773 pointer dereference
774 Thanks to Krzysztof Wojtaƛ for the test data and fix for this.
775
b3afeed5
TC
776 - an integer division meant that preview scaling to below 1 pixel
777 wide or high (which isn't too useful anyway) was calculating using
778 NaNs on most platforms, and causing an exception on others.
779 Thanks to David Cantrell for producing a backtrace of the crash on
780 his Alpha-NetBSD CPAN test box which made it possible to track this
781 down.
782
b1e29946 783Imager 0.69 - 08 Sep 2009
25f4e775
TC
784===========
785
b1e29946 786Bug fixes:
25f4e775
TC
787
788 - broken test fix - was attempting to call a function skip_all, when
789 that should be a parameter to plan().
790
b1e29946
TC
791 - briefly document apidocs.perl, the tool used to build
792 Imager::APIRef and make some minor enhancements
793
794 - various minor documentation enhancements and fixes.
795
5920304a 796Imager 0.68 - 07 Sep 2009
c5f447ac
TC
797===========
798
3c252111
TC
799 - Imager->new(file => $filename) and other similar incantations will
800 load the given file.
801 https://rt.cpan.org/Ticket/Display.html?id=48261
802
c5f447ac
TC
803Bug fixes:
804
805 - avoid using CHECK as a label in Imager::Test
806 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
807
0d670555
TC
808 - re-work most image file test files that require a library into
809 separate library present/not present files to remove stupidly long
810 conditionals
811
812 - don't treat rubthrough() outside the bounds of the target image as
813 an error.
814 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
815
8d800216
TC
816Imager 0.67_01 - 02 Sep 2009
817==============
500888da
TC
818
819Bug fixes:
820
821 - correct documentation of default of raw image interleave read
822 parameter
823 https://rt.cpan.org/Ticket/Display.html?id=42074
824
825 - add raw_ prefix to raw read parameters, though the original names
826 still work.
827
828 - fail the read if an invalid raw_interleave parameter is supplied
829
830 - warn if no interleave or raw_interleave parameter is supplied,
831 since the documented default was wrong, and incompatible with the
832 write format
833
834 - for reading raw images, if raw_storechannels > raw_datachannels,
835 set the extra channels in the image to 0
836
cd476e58
TC
837 - when probing for executables like freetype-config, search for .bat
838 and .cmd on MSWin32, as well as .exe.
839 https://rt.cpan.org/Ticket/Display.html?id=49275
500888da 840
f9a39263
TC
841 - re-work the external libraries section of README:
842 - list Debian and Redhat package names for each library
843 - reformatting
844 - update URLs
845
f45b774f
TC
846 - use the new EU::MM META_MERGE facility instead of generating
847 META.yml from scratch
848 https://rt.cpan.org/Ticket/Display.html?id=47888
849
d6b51d8c
TC
850 - use Devel::CheckLib (bundled, modified) to check which release of
851 libtiff is installed and reject 3.9.0
78645bd4
TC
852 http://bugzilla.maptools.org/show_bug.cgi?id=2088
853 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
d6b51d8c 854
249af030
TC
855Imager 0.67 - 12 Dec 2008
856===========
857
858Bug fixes:
859
860 - fix a packaging error
861
cca21862 862Imager 0.66 - 12 Dec 2008
3c8fee33
TC
863===========
864
6b22ba84
TC
865 - 24-bit color .ICO/.CUR files can now be read.
866
3c8fee33
TC
867Bug fixes:
868
6b22ba84
TC
869 - an optimization skipping 0 src alpha values could cause the
870 rubthrough() to read past the end of a buffer.
871 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
872
5c0d0ddf
TC
873 - corrected a reference leak where writing GIFs would leak memory.
874 This could also happen calling to_paletted().
875 Also documented the underlying long existing feature where the
876 colors parameter is filled with the generated color table and added
877 tests for it.
3c8fee33
TC
878 http://rt.cpan.org/Ticket/Display.html?id=41028
879
8e7f5809
TC
880 - write out the image size in bytes field of a BMP correctly.
881 http://rt.cpan.org/Ticket/Display.html?id=41406
882
c586eb58
TC
883 - add limited tests for Imager::ExtUtils
884
885 - make Imager::ExtUtils->includes use an absolute path, since
886 a relative path could cause failures using Inline::C.
887 http://rt.cpan.org/Ticket/Display.html?id=37353
888
6b22ba84
TC
889 - re-arrange the POD for Imager::Font::BBox:
890 - mark total_width(), pos_width(), end_offset() obsolete, since
891 they're mostly for backwards compatibility
892 - group width methods and height methods
893 https://rt.cpan.org/Ticket/Display.html?id=39999
17d9fe35 894
0727e3f5 895Imager 0.65 - 20 May 2008
546ea21c
TC
896===========
897
898Bug fixes:
899
900 - In some cases when an error occurs reading those parts of a JPEG
901 file after the image the scan-line buffer could be freed a second
902 time. In cases where the the error occured while reading the image
903 data it's possible that the buffer could have leaked.
904 Thanks to Gabriel Vasseur for reporting this and help in tracking
905 it down.
906
43b2b326
TC
907 - the gif_screen_height tag was overriding the screen width and being
908 ignored for the screen height when present.
909 https://rt.cpan.org/Public/Bug/Display.html?id=35568
910
e02d22d2 911Imager 0.64 - 23 April 2008
de470892
TC
912===========
913
e02d22d2
TC
914This is a bug fix release. This includes a fix for a possible
915security issue.
916
de470892
TC
917Bug fixes:
918
e02d22d2
TC
919 - Possible security issue: The floating point sample path for image
920 based fills had a buffer overflow. This would overwrite the end of
921 a malloc()ed buffer with double precision floats.
922 http://rt.cpan.org/Ticket/Display.html?id=35324
6912d85a 923 CVE-2008-1928
e02d22d2 924
de470892
TC
925 - check that the result of fileno($fh) is defined rather than simply
926 true when read() or write() is supplied with an fh parameter.
927 http://rt.cpan.org/Ticket/Display.html?id=35139
928
929 - i_scale_axis() wasn't checking the result of i_img_new_ch()
930 resulting in a SIGSEGV when attempting to scale an image to a size
931 too large to fit in memory. This is a NULL pointer access issue,
932 not a buffer overflow.
933 Added a check for the failure.
934 scale_calculate() (and hence scale()) will now fail if any of the
935 scale size parameters are a reference.
936 http://rt.cpan.org/Ticket/Display.html?id=35172
937
04f85f63
TC
938 - Regression: filling a greyscale image with a hatch used the wrong
939 color channels from the supplied fg/bg colors.
940 https://rt.cpan.org/Ticket/Display.html?id=35278
941
a256aec5
TC
942 - fixed a related problem for image fills.
943
49240201 944Imager 0.63 - 7 April 2008
33b0ffa6
TC
945===========
946
242d7497
TC
947This release primarily contains changes to improve ease of use -
948rather than you having to convert images to the appropriate number of
949channels, Imager handles it internally. How to handle drawing colors
950and the default combine mode is a thornier problem left for some other
951release.
952
d1555273
TC
953 - the font libraries are now only initialized when needed.
954 http://rt.cpan.org/Ticket/Display.html?id=28825
955
9b1ec2b8
TC
956 - moved the imtoc.perl code into Imager::Preprocess
957
958 - paste() and rubthrough() now adapt the source image data to the
959 destination, so you can now safely paste/rubthrough from greyscale
960 images to color images or back, or from alpha channel images to
961 noalpha channels or back.
962 https://rt.cpan.org/Ticket/Display.html?id=30908
963
964 - rubthrough() now falls back to pasting when the source doesn't have
965 an alpha channel. This effectively treats the source as having a
966 max alpha channel, the right thing to do.
967 http://rt.cpan.org/Ticket/Display.html?id=29944
968
969 - re-worked most of the area filling code to use a common set of
970 functions when filling.
971 Corrected normal combine mode.
972 Rewrote most of the combine modes to match the way the SVG draft
973 defines them with respect to a translucent source and destination.
974 Added tests for translucent source and destination.
975 Added tests to check 8-bit/sample and double/sample combines work
976 similarly.
977 https://rt.cpan.org/Ticket/Display.html?id=29879
978
07d9c639
TC
979 - writing a 2 or 4 channel image to a JPEG file will now write that
980 image as if composited against a background, black by default,
981 overridable with the i_background tag/parameter.
6e4af7d4
TC
982 https://rt.cpan.org/Ticket/Display.html?id=29876
983
07d9c639
TC
984 - writing a 2 or 4 channel image to a PGM/PPM file will now write
985 that image as if composited against a background, black by default,
fa90de94
TC
986 overridable with the i_background tag/parameter.
987 http://rt.cpan.org/Ticket/Display.html?id=30074
988
07d9c639
TC
989 - writing a 2 or 4 channel image to a BMP file will now write that
990 image as if composited against a background, black by default,
991 overridable with the i_background tag/parameter.
992 http://rt.cpan.org/Ticket/Display.html?id=30075
993
33b0ffa6
TC
994Bug fixes:
995
996 - Imager::Matrix2d->translate() now only requires one of the x or y
997 parameters.
998 http://rt.cpan.org/Ticket/Display.html?id=29937
999
2757bad0
TC
1000 - mixing qtype scaling now sets all channels of a pixel to zero if
1001 the pixel has zero coverage (zero alpha). This should produce more
1002 compressible output files.
1003 http://rt.cpan.org/Ticket/Display.html?id=32324
1004
3da08517
TC
1005 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1006 Noticed when I saw:
1007 https://bugzilla.redhat.com/show_bug.cgi?id=166254
1008 I'm not changing the #! lines of the sample code, since it's sample
1009 code, not intended for installation.
1010 http://rt.cpan.org/Ticket/Display.html?id=33408
1011
242d7497
TC
1012 - some TGA images weren't being detected correctly as TGA images
1013 https://rt.cpan.org/Ticket/Display.html?id=32925
1014
1015 - handling of the left-over bit for 16-bit/pixel TGA images has been
1016 changed to match the behaviour of the GIMP. Previously the bit
1017 being set was treated as an opaque pixel, but one user reported a
1018 problem with loading such an image. I haven't been able to find any
1019 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1020 I'll match it's behaviour. See issue 114913 in the GIMP's
1021 bugzilla.
1022 http://rt.cpan.org/Ticket/Display.html?id=32926
1023
5daa9d34 1024Imager 0.62 - 10 December 2007
ac8138b0
TC
1025===========
1026
d8e0c3ba
TC
1027 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1028 to /path under your home directory.
1029 http://rt.cpan.org/Ticket/Display.html?id=29484
1030
50ff958e
TC
1031 - the old dynaload code used Mach API functions to load dynamic
1032 libraries on Mac OS X. These APIs have been deprecated in OS X
1033 10.5 and were causing some build problems.
1034 So henceforth Imager uses the dlopen() family of functions, and you
1035 will need version 10.3 or later of OS X.
1036
3309187a
TC
1037 - added the det() function to the transform2() engine.
1038 added the sample quad_to_square.pl
1039 Courtesy Richard Fairhurst.
1040 http://rt.cpan.org/Ticket/Display.html?id=31244
1041
ac8138b0
TC
1042Bug fixes:
1043
1044 - samples/gifscale.pl sourced the base value for gif_top from
1045 gif_left.
1046 Thanks to Eleneldil G. Arilou for pointing this out.
1047
678a9a65
TC
1048 - t/t82inline.t no longer loads B at runtime, to work around a bug
1049 in some 5.005_0[45] installations.
1050 http://rt.cpan.org/Ticket/Display.html?id=30508
1051
1052 - work around Module::Depends::Intrusive bug #21229
1053 http://rt.cpan.org/Ticket/Display.html?id=30520
ac8138b0 1054
bea65b1f
TC
1055 - the hardinvert filter no-longer inverts the alpha channel.
1056 http://rt.cpan.org/Ticket/Display.html?id=30002
1057
1058 - the hardinvert filter now supports large samples
1059
b7809486 1060Imager 0.61_02 - 28 November 2007
f74e6efc 1061==============
874c55db 1062
bd8052a6
TC
1063 - major TIFF support re-work
1064 http://rt.cpan.org/Ticket/Display.html?id=20329
1065
1066 - added a C level image interface for accessing samples from 1-32
1067 bits, exposed this at the perl level in getsamples()
1068
1069 - the conv filter now works at floating point precision for high bit
1070 images
1071
1072 - added is_bilevel method to test whether an image should be written as
1073 a bilevel image if the image format supports it.
1074
1075 - added -log-stderr as an Imager import list option
1076
1077 - added some important types to Imager::APIRef
1078
1079 - added test_image_double() to Imager::Test
1080
874c55db
TC
1081Bug fixes:
1082
1083 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1084 segments
1085
1086 - the scale() method with qtype mixing now handles images with an
1087 alpha channel correctly.
1088
8d17eae9
TC
1089 - fixed a broken link from the "animated GIF" entry in the concept index.
1090 Thanks to Slaven Rezic.
1091 http://rt.cpan.org/Ticket/Display.html?id=30889
1092
d3bf4eaf
TC
1093 - on some perl's the infix expression parser test would fail due to
1094 actions in the grammar returning false. Made sure all actions return
1095 a true value.
8b96ad6b
TC
1096 Thanks to Richard Fairhurst for spending a lot of time in tracking
1097 down this problem.
680c329d 1098 http://rt.cpan.org/Public/Bug/Display.html?id=29562
d3bf4eaf 1099
d06f6707 1100Imager 0.61 - 5 November 2007
1cfa190e
TC
1101===========
1102
1103 - added samples/gifscale.pl, which adjusts the screen size/position tags
1104 when scaling an animated gif
1105 http://rt.cpan.org/Ticket/Display.html?id=27591
1106
8a2cd317
TC
1107Bug fixes:
1108
e7ac18bd
TC
1109 - correct handling of sz in matrix_transform() - this should allow
1110 perspective type transformations to work now.
1111 http://rt.cpan.org/Ticket/Display.html?id=29936
1112
8a2cd317
TC
1113 - prevent a cast to integer warning on x64 builds in datatypes.c
1114 also fixed some other type warnings
1115 https://rt.cpan.org/Ticket/Display.html?id=30204
1116
9188b23e
TC
1117 - some sub-directory tests depended on files produced by the parent
1118 directory tests
1119 http://rt.cpan.org/Ticket/Display.html?id=30203
1120
7febff1d
TC
1121 - Imager::Font::Wrap doesn't correctly set savepos
1122 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
1123 http://rt.cpan.org/Ticket/Display.html?id=29771
1124
76411e99
TC
1125 - test 171 in t/t01introvert.t was failing on perls configured to
1126 use long double.
1127 http://rt.cpan.org/Ticket/Display.html?id=29413
1128
3f29de50
TC
1129 - the code for the transform2() uminus operator was missing a break.
1130 Added tests for better code coverage of the ops.
1131 http://rt.cpan.org/Ticket/Display.html?id=29296
1132
ed107438
TC
1133 - the SGI RLE compression code could overflow its compression buffer
1134 http://rt.cpan.org/Ticket/Display.html?id=30334
1135
1136 - the 32-bit output function used by the SGI code only handled values
1137 under 0x10000. This was most noticable when writing large RLE images.
1138 http://rt.cpan.org/Ticket/Display.html?id=30335
1139
c7481ae1
TC
1140 - validate chan_count for chans == NULL for each of the i_gsamp()
1141 implementations.
1142 http://rt.cpan.org/Ticket/Display.html?id=28985
1143
ff37fc3f
TC
1144 - attempt to work around the test failure at
1145 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
1146 http://rt.cpan.org/Ticket/Display.html?id=29562
1147
f245645a
TC
1148 - improve the error messages produced when attempting to read or write
1149 an unknown image file format.
1150 http://rt.cpan.org/Ticket/Display.html?id=30103
1151
333d7485
TC
1152 - improve the transform2() documentation
1153 http://rt.cpan.org/Ticket/Display.html?id=29267
1154
3b115720
TC
1155 - correctly generate the author key in META.yml
1156 http://rt.cpan.org/Ticket/Display.html?id=30377
1157
13c9a303
TC
1158 - correctly blend a rotated (or matrix_transformed()) image when
1159 performing interpolation in the presence of an alpha channel.
8a071022
TC
1160 Also corrected the centring of the rotated image on the output
1161 image.
13c9a303 1162
0e622083 1163Imager 0.60 - 30 August 2007
bcff4dd9
TC
1164===========
1165
d5477d3d
TC
1166 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
1167 now has full SGI RGB image format, including RLE and 16-bit/sample
1168 images.
1169 https://rt.cpan.org/Ticket/Display.html?id=8666
1170
1171 - logging functions are now available in the API
1172
a60905e4
TC
1173 - applied Gabriel Vasseur's patch
1174 added documentation, further tests, and support for greyscale images
1175 Obviously problems are my fault :)
1176 https://rt.cpan.org/Ticket/Display.html?id=28142
1177
413dc198
TC
1178 - the mask for ICO/CUR images is now applied as an alpha channel to
1179 the returned image. For the old behaviour, supply ico_masked => 0
1180 to read() or read_multi(). This should be less confusing when
1181 using Imager as a general image processor.
1182 https://rt.cpan.org/Ticket/Display.html?id=29001
1183
bcff4dd9
TC
1184Bug fixes:
1185
1186 - in some cases it's possible for giflib/libungif to return color
1187 indexes outside the range of colors defined by the image's palette.
1188 We now expand the palette to match the indexes used.
1189 Thanks to Gabriel Vasseur for reporting this.
1190
02576e8d
TC
1191 - fixed various memory leaks that could occur when failing to read png,
1192 jpeg, bmp or tga files.
1193
b3aa972f
TC
1194 - to avoid confusion, channels not present in the image are returned as
1195 zero by getscanline(). This has no effect on the C level i_glin()
1196 and i_glinf() API functions which continue to not set the unused
1197 channels.
1198
d5477d3d
TC
1199 - the convert() method now returns an image of the same sample size as
1200 the source image.
1201 https://rt.cpan.org/Ticket/Display.html?id=28492
1202
baa880ef
TC
1203 - remove repeated text in Imager::Files
1204 http://rt.cpan.org/Ticket/Display.html?id=27589
1205
1206 - be even more explicit that scale() and friends don't modify the source
1207 image, but return a new image.
1208 http://rt.cpan.org/Ticket/Display.html?id=28570
1209
0561d49c
TC
1210 - improve the error message from errstr() when you try to load a font
1211 for which the driver hasn't been built in Imager.
1212 http://rt.cpan.org/Ticket/Display.html?id=27571
1213
d8a39ce0
TC
1214 - transparency is now enabled by default when writing GIF images
1215 http://rt.cpan.org/Ticket/Display.html?id=27615
1216
5730d6e7
TC
1217 - Imager would not load on Windows 98
1218 http://rt.cpan.org/Ticket/Display.html?id=27653
1219
b4996113 1220Imager 0.59 - 14 June 2007
e6e94ab0
TC
1221===========
1222
1223Bug fixes:
1224
1225 - fixes a regression introduced by the fixes for RT 11972
1226 http://rt.cpan.org/Ticket/Display.html?id=27546
1227
9fc9d0ca
TC
1228 - cropping outside the image would return an Imager object with
1229 no low-level image object, instead of returning false.
1230 Fixed by: Philip Gwyn (Leolo)
1231 http://rt.cpan.org/Ticket/Display.html?id=27509
1232
7e7508dd
TC
1233Imager 0.58 - 16 May 2007
1234===========
1235
1236No significant changes from 0.57_01.
1237
1970a2c7
TC
1238Imager 0.57_01 - 11 May 2007
1239==============
d034a178 1240
f8e36694
TC
1241 - added to_rgb16 to produce a 16-bit/sample version of an image
1242
95b2bff4
TC
1243 - improve freetype 1.x text output efficiency
1244
d034a178
TC
1245Bug fixes:
1246
1247 - search another place for rgb.txt, and check all the places
1248 Imager::Color checks when deciding whether to skip testing it
1249 http://rt.cpan.org/Ticket/Display.html?id=26064
1250
73962964
TC
1251 - use a convolution kernel size based on the stddev rather than a
1252 fixed size when performing a gaussian blur
1253 http://rt.cpan.org/Ticket/Display.html?id=25645
1254
01b84320
TC
1255 - document the difference() method's mindist parameter, and debug it.
1256
7e7508dd 1257 - put the Imager release number in the Inline::C generated code to
22f9ca48
TC
1258 regenerate Inline code when a new release of Imager is installed.
1259 http://rt.cpan.org/Ticket/Display.html?id=26278
1260
fa16b6c6
TC
1261 - fix rendering on alpha channel images for the FreeType 1.x driver.
1262 http://rt.cpan.org/Ticket/Display.html?id=11972
1263
4c84ccfb
TC
1264 - fix rendering on alpha channel images for the T1lib driver.
1265 http://rt.cpan.org/Ticket/Display.html?id=11972
1266
1fe8316b
TC
1267 - reworked library probing, we can now set more than one probe
1268 function for a library. Disabled the default (non-freetype-config)
1269 library probe and added an extra probe function that searches for
1270 both ft2build.h and whatever it includes, and adds -I as needed.
1271 Hopefully this will fix build problems like
1272 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
1273 http://rt.cpan.org/Ticket/Display.html?id=26086
1274
bb5712de
TC
1275Imager 0.57 - 30 Apr 2007
1276===========
1277
1278This is a maintenence release fixing a security issue in Imager.
1279
1280 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
1281 overflow in malloced memory. There will be further discussion of
1282 this issue in the ticket below.
1283 http://rt.cpan.org/Ticket/Display.html?id=26811
7e7508dd
TC
1284 CVE-2007-2459 CVE-2007-2413
1285 The descriptions at cve.mitre.org varied in quality, please see the
1286 ticket at rt.cpan.org for a more accurate description of the issue.
bb5712de 1287
d034a178 1288Imager 0.56 - 1 Apr 2007
7623d340
TC
1289===========
1290
1291 - added support for reading 16-bit/sample PGM/PPM images
1292
1293 - added support for writing 16-bit/sample PGM/PPM images
1294
1295 - improved performance of reading PBM/PGM/PPM images
1296
1297 - added support for writing PBM images if the image is paletted and
1298 contains only black and white
1299
1300 - added a new make_colors value - "mono"
1301
1302 - switched from the svn log Changes to a manual Changes to reduce
1303 noise
1304
1225d272
TC
1305 - new sample code - samples/flasher.pl
1306
7623d340
TC
1307Bug fixes:
1308
1309 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
1310 was returning an image object with an extra reference, this
1311 resulted in a memory leak.
1312 http://rt.cpan.org/Ticket/Display.html?id=24992
1313
1314 - fix rendering on alpha channel images for the FreeType 2.x driver
1315 http://rt.cpan.org/Ticket/Display.html?id=11972
1316
1317 - reading bmp files now consitently handles short reads. You can now
1318 supply a parameter to treat a short read as successful and set
1319 i_incomplete
1320 http://rt.cpan.org/Ticket/Display.html?id=8426
1321
1322 - previously, reading ASCII PBM files required spaces between samples,
1323 even though the format doesn't require that
1324
1225d272
TC
1325 - improved documentation of the unsharpmask filter (I hope)
1326 http://rt.cpan.org/Ticket/Display.html?id=25531
1327
1328 - force flushing of the output from i_tt_dump_names() and test output
1329 in t/t35ttfont.t to prevent output from being mixed up.
1330 https://rt.cpan.org/Ticket/Display.html?id=24859
1331
1332 - rewrite a conditional expression as an if() to hopefully work around
1333 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
1334 https://rt.cpan.org/Ticket/Display.html?id=25561
1335
1336 - avoid Data::Dumper in regops.perl to support older releases of perl
1337 https://rt.cpan.org/Ticket/Display.html?id=24391
1338
7623d340
TC
1339Imager 0.55 - 16 Dec 2006
1340===========
1341
1342This is primarily a bug fix release.
1343
1344Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
1345
1346There is one new feature:
1347
1348 - the Win32 font driver now supports UTF8 (RT 22166)
1349 http://www.cpanforum.com/threads/3276
1350 http://rt.cpan.org/Ticket/Display.html?id=22166
1351
1352Several bugs were fixed:
1353
1354 - the string() method would not output the string "0"
1355 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1356
1357 - fills.c was failing to compile on Solaris 10 (compiler unknown)
1358 http://rt.cpan.org/Public/Bug/Display.html?id=21944
1359
1360 - the gif_disposal and gif_user_input tags weren't being read from
1361 the file correctly
1362 http://rt.cpan.org/Public/Bug/Display.html?id=22192
1363
1364 - gif.c was failing to build under MSVC
1365 http://rt.cpan.org/Ticket/Display.html?id=23922
1366
1367 - in some cases strings passed to the string() method were treated as
1368 terminated by NUL (chr 0)
1369 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1370
1371 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
1372 that's the default build name for zlib on Win32.
1373 http://rt.cpan.org/Ticket/Display.html?id=23064
1374
1375 - search $Config{incpath} for headers too, which we should have been
1376 doing all along.
1377
1378Win32 font driver fixes:
1379
1380 - the global descent value from bounding box was the wrong sign
1381 http://www.cpanforum.com/threads/3276
1382
1383 - if the first or last glyph overflowed the left or right side of the
1384 advance width they would be clipped
1385
1386
1387Imager 0.54 - 14 Sep 2006
1388===========
1389
1390This is primarily a feature release:
1391
1392 - a new qtype value 'mixing' has been added to the scale()
1393 method. This is faster than 'normal', slower than 'preview'. This
1394 is based on the method used by pnmscale, and seems to produce less
1395 blurry results than normal.
1396 http://rt.cpan.org/Public/Bug/Display.html?id=20677
1397
1398 - the rubthrough() method can now render onto images with an alpha
1399 channel.
1400 http://rt.cpan.org/Ticket/Display.html?id=20678
1401
1402 - the read_multi() method now falls back to calling doing a single
1403 image read via the read() method and write_multi() will now fall
1404 back to calling write() if a single image is supplied. This means
1405 you can simply call the read_multi() or write_multi() functions
1406 without having to check if the type is formatted by that method.
1407 http://rt.cpan.org/Ticket/Display.html?id=19457
1408 http://rt.cpan.org/Ticket/Display.html?id=19458
1409
1410 - the GIF loop extension can now be written. If you don't have
1411 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
1412 should upgrade.
1413 http://rt.cpan.org/Ticket/Display.html?id=21185
1414
1415 - getscanline() and setscanline() can now read/write palette index
1416 based data from/to the image for paletted images, by setting type to
1417 'index'.
1418 http://rt.cpan.org/Ticket/Display.html?id=20338
1419
1420 - we no longer hassle you to disable GIF support
1421 http://rt.cpan.org/Ticket/Display.html?id=20687
1422
1423 - minor documentation fixes
1424
1425
1426Imager 0.53 - 26 Jul 2006
1427===========
1428
1429This is a bugfix release.
1430
1431Some test code was left in a code path not covered by the test
1432suite. A test was added to cover this code path and the test code was
1433removed.
1434http://rt.cpan.org/Public/Bug/Display.html?id=20705
1435
1436
1437Imager 0.52 - 25 Jul 2006
1438===========
1439
1440This is primarily a feature release, but contains a fair few bug
1441fixes, new features:
1442
1443 - ability to read and write MS Windows ICO and CUR files
1444
1445 - you can now add file format plugins to support new file formats
1446
1447 - add POD coverage tests
1448
1449 - setcolors() and addcolors() now accept color names and so on
1450 instead of requiring Imager::Color objects.
1451 http://rt.cpan.org/Ticket/Display.html?id=20056
1452
1453 - flood_fill() can now fill to a specified border color instead of
1454 just to the area the same color as the seed.
1455 http://rt.cpan.org/Ticket/Display.html?id=19618
1456
1457
1458Bug fixes:
1459
1460 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
1461 calculating the advance width.
1462 http://rt.cpan.org/Public/Bug/Display.html?id=20554
1463
1464 - bounding_box for the T1 driver wasn't including leading and
1465 trailing spaces in the bounding box as the other drivers did, it also
1466 produced strange results for empty strings or strings containing only
1467 spaces
1468
1469 - when reading CMYK jpeg images they were being transferred to the
1470 image object as is, producing a four channel image. It only looked ok
1471 due to an old still unfixed Photoshop bug. We now convert from the
1472 inverted CMYK that photoshop (and Corel for example) produce into RGB.
1473 http://rt.cpan.org/Ticket/Display.html?id=20416
1474
1475 - reading a CYMK TIFF would result in a 4 channel image, reading any
1476 image with more than 4 channels (eg. RGB with 2 alpha channels) would
1477 result in an error.
1478 http://rt.cpan.org/Ticket/Display.html?id=20415
1479
1480 - added /usr/local/include to the default include search path, since
1481 we were already searching /usr/local/lib for libraries.
1482
1483And various minor fixes and documentation updates.
1484
1485
1486Imager 0.51 - 23 Apr 2006
1487===========
1488
1489 - fix a validation bug when processing JPEG EXIF data that can cause
1490 a crash
1491 http://rt.cpan.org/Public/Bug/Display.html?id=18496
1492
1493 - fix mis-processing of the src_maxx and src_maxy parameters of the
1494 paste() method
1495 http://rt.cpan.org/Public/Bug/Display.html?id=18712
1496
1497 - fix a problem in Imager's "smart" handling of the color parameter
1498 to various methods.
1499 http://rt.cpan.org/Public/Bug/Display.html?id=18561
1500
1501
1502Imager 0.50 - 29 Mar 2006
1503===========
1504
1505 - CRITICAL: fixes a segmentation fault from attempting to write a 2
1506 or 4 channel image to jpeg or a 2 channel image to tga where the
1507 output is an in-memeory buffer.
1508 http://rt.cpan.org/Public/Bug/Display.html?id=18397
1509
1510 - fixes an incorrect pointer parameter in the PNG code
1511 http://rt.cpan.org/Public/Bug/Display.html?id=18051
1512
1513 - skip Inline::C tests when building in a directory with spaces
1514 http://rt.cpan.org/Public/Bug/Display.html?id=18049