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