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