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