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