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