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