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