]> git.imager.perl.org - imager.git/blobdiff - Changes
- maxcolors now must be at least 1 when creating a paletted image.
[imager.git] / Changes
diff --git a/Changes b/Changes
index 9ecca2128c6e27ac30811f0771a3145d0cffd18c..4b306ab6ba532556d2d83c06cac3abf78c502f0e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -961,7 +961,7 @@ Revision history for Perl extension Imager.
 - method index didn't include errstr()
 - document that you don't want the FT2 freetype.h in the include path
 
-0.44_01
+0.44_01 Tue 24 May 2005
 - the plugins Makefile has long produced an error after all tests were
   complete on Win32, finally tracked down why
 - Makefile.PL now checks the directories specified by $Config{locincpth}
@@ -1042,6 +1042,127 @@ Revision history for Perl extension Imager.
   values across to the returned color objects.
   http://rt.cpan.org/NoAuth/Bug.html?id=11860 
 - Imager::Cookbook wasn't included in the MANIFEST
+- added samp-form.cgi and samp-image.cgi to the samples directory to 
+  demonstrate displaying a generated image on a HTML page.
+- Makefile.PL now adds rules to generate a suitable META.yml to the
+  generated Makefile.
+- added sample code for handling images uploaded via a HTML form.
+- saving a GIMP gradiant file with Imager::Fountain->save has always been
+  broken.  Fixed it and added tests.
+- newer versions of GIMP add a line to gradient files before the
+  segment count giving a descriptive name of the gradient.  
+  Imager::Fountain can now read and write such gradient files.  The
+  interface is a bit indirect, but I'd like to preserve
+  Imager::Fountain as a blessed array ref for now.
+- the segments parameter supplied to the fountain filter and the
+  fountain fill contructor now accepts color names or other 
+  descriptions as other functions do.
+- fix a few compiler warnings
+- document the Imager::Font::BBox advance_width() method
+- Imager::Font::BBox advance_width() method was falling back to
+  the wrong value when the font driver's low level function
+  didn't return the advance width.
+- the FT 1.x was comparing versus an uninitialized variable when
+  checking the end of string when calculating the right side bearing
+  used to adjust pos_width for glyphs that overlap the right side of the
+  advance width.
+- Imager::Font::BBox objects now have right_bearing() and display_width()
+  methods.  Hopefully this and the advance_width() method fills out
+  the Imager bounding box interface to a useful state.
+  Implemented for all four font drivers.
+- Win32 font bounding_box() method now supports the advance width
+  and right bearing values.
+- Imager::Matrix2d->rotate() would only rotate around the supplied 
+  centre point if both 'x' and 'y' were non-zero.
+- the internal i_tags_get_string() function now acts correctly for
+  integer only tags.
+- the FT1.x driver now supports the align parameter correctly.
+  Tests were added to each driver to check correct handling of the align
+  parameter.
+- the Win32 font driver bounding_box() method now puts accurate values
+  in the ascent and descent values, previously they were set to the 
+  font ascent/descent rather than the values specific to the string.
+- supplying align=>0 to the win32 font driver string() function 
+  now aligns in the same way as the other drivers.
+- removed the bug reporting email address to prevent spammers stripping
+  it.  The URL is still there and if someone knows how rt.cpan.org works
+  they can still figure out the email.
+- the internal function used to probe file formats if the type
+  parameter wasn't passed to the read() method would produce
+  diagnostics on stdout, precluding use in web applications.  Silenced
+  it.
+- the setcolors() had a fencepost error making it impossible to 
+  use it to set the last color in the palette.
+  http://rt.cpan.org/NoAuth/Bug.html?id=12676
+- fix the filter examples in Imager::Filter so they don't indicate that 
+  a new image is returned (the filter() method works in-place)
+- add examples for the fountain filter
+- prevent warnings from Makefile.PL when there's no libraries found
+- Imager no longer assumes that MSVC is the only native Win32 
+  compiler, MinGW can be used to build Imager.
+- fixed an inverted condition checking the giflib version, and 
+  replaced a manual test skip in t/t105gif.t
+- add tests to exercise hatch fills for floating images.  This code is
+  mis-generated with the gcc 4.0 that ships with OS X 10.4
+- work around junk that pkg-config sends to stderr on FreeBSD 4.10
+- testimg/base.jpg was missing from the MANIFEST, causing test failures
+- use a temp file to avoid messing with echo on Win32 when building
+  META.yml
+- add some Mac OS X notes to the README
+
+0.45 Mon 30 May 2005
+- t/t105gif.t wasn't handling buggy giflibs correctly
+
+0.45_01
+- give the colorcount() and maxcolors() methods their own entries and
+  add them to the method index.
+- added tiff_bitspersample and tiff_photometric tags to tiff images
+  when read
+- loading filter DLLs/DSOs had an off-by-one error allocating a buffer
+  for the filename of the library (does anyone use this functionality?)
+- remove old #if 0 code from Imager.xs
+- convert t/t15color.t to Test::More
+- prevent warnings when looking up a GIMP color with no palette
+  parameter and $ENV{HOME} not set.
+- added VERSION numbers to most .pms
+- convert t/t104ppm.t to Test::More
+- convert t/t107bmp.t to Test::More
+- convert t/t108tga.t to Test::More
+- error messages generated reading JPEG or PNG images are now
+  available via errstr()
+- implement/test/document set_file_limits()/get_file_limits() methods,
+  which allow limits on the size of image files read.
+- new example for convert() method based on Leolo's query
+- implement getscanline(), setscanline() and getsamples() methods.
+  These are low level methods for fast access to image data, based on
+  existing C functions that Imager uses internally.
+- limit limits.c to C89
+- the gif tests weren't skipping enough when there was no gif support
+- move include t1lib out of image.h to font.c, since nothing it 
+  provides is needed elsewhere.
+- minor POD fixes
+- added a brief tutorial
+- Imager::Font->new() for the tt (Freetype 1.x) driver now correctly
+  handles errors from i_tt_new(), and passed error messages now 
+  generated by i_tt_new().
+- renamed lib/Imager/Cookbook.pm to lib/Imager/Cookbook.pod - CPANTS
+  complains about it not having 'use strict;'
+- add samples/replace_color.pl
+- you can now supply a page parameter to read() to read a given page
+  from a TIFF file.
+- added samples/border.pl, and notes on adding a border in 
+  Imager::Cookbook.
+- added sampled/slant_text.pl, and notes on shearing/rotating text in
+  Imager::Cookbook.
+- INCOMPATIBLE CHANGE:
+  reading a gif file will now read the first image from the file rather 
+  than the a consolidated image.  If you want the old behaviour supply
+  C<< gif_consolidate=>1 >> to the read() method.  Older versions of 
+  Imager will accept this parameter and produce the same result.
+- you can now supply a page parameter to read() to read a given page
+  from a GIF file.
+- reading a multi-image GIF was leaking memory (a line buffer per file)
+- maxcolors now must be at least 1 when creating a paletted image.
 
 =================================================================