Tony Cook [Tue, 31 Jul 2007 13:58:09 +0000 (13:58 +0000)]
- improve the error message from errstr() when you try to load a font
for which the driver hasn't been built in Imager.
http://rt.cpan.org/Ticket/Display.html?id=27571
Tony Cook [Tue, 31 Jul 2007 12:19:49 +0000 (12:19 +0000)]
- Finished/rewrote Arnar's old SGI RGB file format support, so Imager
now has full SGI RGB image format, including RLE and 16-bit/sample
images.
https://rt.cpan.org/Ticket/Display.html?id=8666
- logging functions are now available in the API
- the convert() method now returns an image of the same sample size as
the source image.
https://rt.cpan.org/Ticket/Display.html?id=28492
Tony Cook [Tue, 26 Jun 2007 12:05:27 +0000 (12:05 +0000)]
- to avoid confusion, channels not present in the image are returned as
zero by getscanline(). This has no effect on the C level i_glin()
and i_glinf() API functions which continue to not set the unused
channels.
Tony Cook [Thu, 21 Jun 2007 12:53:47 +0000 (12:53 +0000)]
- in some cases it's possible for giflib/libungif to return color
indexes outside the range of colors defined by the image's palette.
We now expand the palette to match the indexes used.
Thanks to Gabriel Vasseur for reporting this.
Tony Cook [Tue, 12 Jun 2007 14:14:08 +0000 (14:14 +0000)]
- cropping outside the image would return an Imager object with
no low-level image object, instead of returning false.
Fixed by: Philip Gwyn (Leolo)
http://rt.cpan.org/Ticket/Display.html?id=27509
Tony Cook [Sun, 18 Mar 2007 12:11:33 +0000 (12:11 +0000)]
generate the %attr hash ourselves instead of with Data::Dumper since
not all of the facilities we use there are available on the older
perls we (try to) support
Tony Cook [Sat, 30 Dec 2006 21:44:33 +0000 (21:44 +0000)]
Various changes:
- fix drawing text on 2/4 channel images for FT2
- reading ASCII PBMs was broken, it assumed there was whitespace
between samples but there doesn't need to be
- add makemap type of mono/monochrome for producing monochrome images
- roughly tripled speed of reading any sort of PNM
- reading a pnm can now return a partial image if you set allow_partial
- reading a bmp can now return a partial image if you set allow_partial
- we can now read 16-bit/sample binary PGM/PPM images
- we can now write 16-bit/sample binary PGM/PPM files if explicitly
requested (since GIMP can't read them)
- reading a tiff will now only return an incomplete image if you set
allow_partial
- some documentation reformatting
Tony Cook [Sat, 16 Dec 2006 22:23:17 +0000 (22:23 +0000)]
bump to 0.55:
This is primarily a bug fix release.
Note: Test::More is now a pre-requisite for Imager and is no longer
bundled.
There is one new feature:
- the Win32 font driver now supports UTF8 (RT 22166)
Several bugs were fixed:
- the string() method would not output the string "0" (RT 21770)
- fills.c was failing to compile on Solaris 10 (compiler unknown) (RT 21944)
- the gif_disposal and gif_user_input tags weren't being read from the file
correctly (RT 22192)
- Win32 font driver fixes:
- the global descent value from bounding box was the wrong sign
- if the first or last glyph overflowed the left or right side of
the advance width they would be clipped
- gif.c was failing to build under MSVC (RT 23922)
- in some cases strings passed to the string() method were treated as
terminated by NUL (chr 0) (RT 21770)
- on "MSWin32" perl builds we now link to -lzlib instead of -lz since
that's the default build name for zlib on Win32. (RT 23064)
- search $Config{incpath} for headers too, which we should have been
doing all along.