]> git.imager.perl.org - imager.git/log
imager.git
16 years ago - transparency is now enabled by default when writing GIF images
Tony Cook [Tue, 31 Jul 2007 14:45:31 +0000 (14:45 +0000)]
 - transparency is now enabled by default when writing GIF images
   http://rt.cpan.org/Ticket/Display.html?id=27615

16 years ago - improve the error message from errstr() when you try to load a font
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

16 years agoremove repeated text in Imager::Files
Tony Cook [Tue, 31 Jul 2007 13:05:25 +0000 (13:05 +0000)]
remove repeated text in Imager::Files

16 years agomake it even clearer that scale() and variants don't modify the source
Tony Cook [Tue, 31 Jul 2007 13:01:05 +0000 (13:01 +0000)]
make it even clearer that scale() and variants don't modify the source

16 years agowhat to do for 0.60
Tony Cook [Tue, 31 Jul 2007 12:33:42 +0000 (12:33 +0000)]
what to do for 0.60

16 years ago - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
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

16 years agodistribute Imager::LargeSamples
Tony Cook [Tue, 31 Jul 2007 10:12:21 +0000 (10:12 +0000)]
distribute Imager::LargeSamples

16 years agostart tracking large sample support
Tony Cook [Tue, 31 Jul 2007 10:11:20 +0000 (10:11 +0000)]
start tracking large sample support

16 years agospelling correction (Adam Kennedy)
Tony Cook [Mon, 23 Jul 2007 06:39:34 +0000 (06:39 +0000)]
spelling correction (Adam Kennedy)

16 years agomore doc fixes
Tony Cook [Thu, 19 Jul 2007 01:03:04 +0000 (01:03 +0000)]
more doc fixes

16 years agooops, missed one
Tony Cook [Thu, 19 Jul 2007 00:53:23 +0000 (00:53 +0000)]
oops, missed one

16 years agodocumentation tweaks
Tony Cook [Thu, 19 Jul 2007 00:51:55 +0000 (00:51 +0000)]
documentation tweaks

16 years agocorrect skip count for when gif libraries not available
Tony Cook [Wed, 27 Jun 2007 01:00:53 +0000 (01:00 +0000)]
correct skip count for when gif libraries not available

16 years ago - to avoid confusion, channels not present in the image are returned as
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.

16 years agofixed various memory leaks that could occur when failing to read png,
Tony Cook [Tue, 26 Jun 2007 11:17:00 +0000 (11:17 +0000)]
fixed various memory leaks that could occur when failing to read png,
   jpeg, bmp or tga files.

16 years agofuzz testing
Tony Cook [Mon, 25 Jun 2007 03:05:30 +0000 (03:05 +0000)]
fuzz testing

16 years agodon't attempt to save the palette if we failed to read the image
Tony Cook [Mon, 25 Jun 2007 02:55:06 +0000 (02:55 +0000)]
don't attempt to save the palette if we failed to read the image

16 years ago - in some cases it's possible for giflib/libungif to return color
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.

16 years ago0.59 release Imager-0.59
Tony Cook [Thu, 14 Jun 2007 07:24:29 +0000 (07:24 +0000)]
0.59 release

16 years ago- cropping outside the image would return an Imager object with
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

16 years agofixes a regression introduced by the fixes for RT 11972
Tony Cook [Tue, 12 Jun 2007 13:10:20 +0000 (13:10 +0000)]
fixes a regression introduced by the fixes for RT 11972
http://rt.cpan.org/Ticket/Display.html?id=27546

16 years agoImager 0.58 release Imager-0.58
Tony Cook [Wed, 16 May 2007 12:48:22 +0000 (12:48 +0000)]
Imager 0.58 release

16 years agovarious minor documentation changes
Tony Cook [Mon, 14 May 2007 08:31:05 +0000 (08:31 +0000)]
various minor documentation changes

17 years agovarious bits and pieces of documentation
Tony Cook [Sat, 12 May 2007 05:19:27 +0000 (05:19 +0000)]
various bits and pieces of documentation

17 years agobump for 0.57_01
Tony Cook [Fri, 11 May 2007 10:49:55 +0000 (10:49 +0000)]
bump for 0.57_01

17 years agoupdate TODO
Tony Cook [Fri, 11 May 2007 09:38:54 +0000 (09:38 +0000)]
update TODO

17 years agodocument Makefile.PL changes
Tony Cook [Fri, 11 May 2007 09:35:51 +0000 (09:35 +0000)]
document Makefile.PL changes

17 years agofix a stupid logic error
Tony Cook [Thu, 10 May 2007 14:35:49 +0000 (14:35 +0000)]
fix a stupid logic error

17 years agohandle spaces in the found paths for freetype2
Tony Cook [Thu, 10 May 2007 14:07:08 +0000 (14:07 +0000)]
handle spaces in the found paths for freetype2

17 years agoremove debug code
Tony Cook [Thu, 10 May 2007 13:57:47 +0000 (13:57 +0000)]
remove debug code

correct handling of adding the second include path

17 years agoremoved --noprobe option, since probing is now required to scan
Tony Cook [Thu, 10 May 2007 13:53:54 +0000 (13:53 +0000)]
removed --noprobe option, since probing is now required to scan
for freetype2

removed inccheck/libcheck for freetype2

added additional probe for freetype 2 that also scans for the file
included by ft2build.h.

Hopefully this will prevent build errors where ft2build.h is in the
include path but the header it includes isn't.

17 years agofix rendering on alpha channel images for the T1lib driver.
Tony Cook [Sat, 5 May 2007 05:02:19 +0000 (05:02 +0000)]
fix rendering on alpha channel images for the T1lib driver.

17 years agouse the channel mask in i_tt_cp() to avoid calls to i_gpix()
Tony Cook [Sat, 5 May 2007 00:39:47 +0000 (00:39 +0000)]
use the channel mask in i_tt_cp() to avoid calls to i_gpix()

17 years agofix rendering on alpha channel images for the FreeType 1.x driver.
Tony Cook [Sat, 5 May 2007 00:30:34 +0000 (00:30 +0000)]
fix rendering on alpha channel images for the FreeType 1.x driver.

17 years agoremove some dev code that was writing an extra image file
Tony Cook [Sat, 5 May 2007 00:28:49 +0000 (00:28 +0000)]
remove some dev code that was writing an extra image file

17 years agoupdate the 0.57 release notes with the CVE number
Tony Cook [Sat, 5 May 2007 00:14:16 +0000 (00:14 +0000)]
update the 0.57 release notes with the CVE number

17 years agoimprove freetype 1.x text output efficiency
Tony Cook [Fri, 4 May 2007 10:45:14 +0000 (10:45 +0000)]
improve freetype 1.x text output efficiency

17 years agoupdates
Tony Cook [Thu, 3 May 2007 23:40:13 +0000 (23:40 +0000)]
updates

17 years agocommit bmp security fixes to HEAD
Tony Cook [Thu, 3 May 2007 10:20:39 +0000 (10:20 +0000)]
commit bmp security fixes to HEAD

17 years agoignore generated gaussian.c
Tony Cook [Wed, 18 Apr 2007 13:53:03 +0000 (13:53 +0000)]
ignore generated gaussian.c

17 years agomark gaussian done
Tony Cook [Wed, 18 Apr 2007 13:52:28 +0000 (13:52 +0000)]
mark gaussian done

17 years agoadd to_rgb16 to changes
Tony Cook [Wed, 18 Apr 2007 13:52:11 +0000 (13:52 +0000)]
add to_rgb16 to changes

17 years agodocument to_rgb16
Tony Cook [Wed, 18 Apr 2007 13:50:52 +0000 (13:50 +0000)]
document to_rgb16

17 years agochanged t82inline.t to always rebuild the Inline::C generated module
Tony Cook [Wed, 18 Apr 2007 13:50:13 +0000 (13:50 +0000)]
changed t82inline.t to always rebuild the Inline::C generated module
to avoid test failures caused by old builds being left.

include the Imager version number in the AUTO_INCLUDE code so that
bugs fixed in a new release will convince Inline to rebuild generated
modules.

http://rt.cpan.org/Ticket/Display.html?id=26278

17 years agoremove debugging image save
Tony Cook [Sat, 14 Apr 2007 00:35:05 +0000 (00:35 +0000)]
remove debugging image save

17 years agodocument the difference() method's mindist parameter, and debug it.
Tony Cook [Sat, 14 Apr 2007 00:31:38 +0000 (00:31 +0000)]
document the difference() method's mindist parameter, and debug it.

17 years agodocument some more test functions
Tony Cook [Mon, 9 Apr 2007 13:58:48 +0000 (13:58 +0000)]
document some more test functions

17 years agouse a convolution kernel size based on the stddev rather than a
Tony Cook [Mon, 9 Apr 2007 13:55:11 +0000 (13:55 +0000)]
use a convolution kernel size based on the stddev rather than a
fixed size when performing a gaussian blur

also uses the i_fcolor interfaces when working with >8 bit/sample
images
RT 25645

17 years agodocument setpixel return values
Tony Cook [Sun, 8 Apr 2007 02:59:43 +0000 (02:59 +0000)]
document setpixel return values

17 years agomake getpixel/setpixel report failure consistently and document it
Tony Cook [Sun, 8 Apr 2007 02:58:55 +0000 (02:58 +0000)]
make getpixel/setpixel report failure consistently and document it
fix 16 and double/sample bounds checking
test bounds checks on each image type

17 years agoadd to_rgb16 method
Tony Cook [Sun, 8 Apr 2007 00:22:50 +0000 (00:22 +0000)]
add to_rgb16 method

17 years agoadd X org dist's rgb.txt location to search path
Tony Cook [Tue, 3 Apr 2007 14:11:04 +0000 (14:11 +0000)]
add X org dist's rgb.txt location to search path

fix test for xname to look in the same places as Imager::Color

RT #26064

17 years agorelease targets
Tony Cook [Tue, 3 Apr 2007 13:26:02 +0000 (13:26 +0000)]
release targets

17 years ago0.56 release
Tony Cook [Mon, 2 Apr 2007 23:58:11 +0000 (23:58 +0000)]
0.56 release

17 years agoflush test output too, to be safe (RT 24859)
Tony Cook [Sun, 1 Apr 2007 11:56:13 +0000 (11:56 +0000)]
flush test output too, to be safe (RT 24859)

17 years agoimprove the unsharpmask documentation (I hope)
Tony Cook [Sat, 31 Mar 2007 12:06:25 +0000 (12:06 +0000)]
improve the unsharpmask documentation (I hope)

17 years agoflush output from i_tt_dump_names() to attempt to resolve #24859
Tony Cook [Fri, 30 Mar 2007 09:36:57 +0000 (09:36 +0000)]
flush output from i_tt_dump_names() to attempt to resolve #24859

17 years agofix the flasher.pl entry
Tony Cook [Fri, 30 Mar 2007 09:13:28 +0000 (09:13 +0000)]
fix the flasher.pl entry

17 years agoadd a new sample flasher.pl
Tony Cook [Thu, 29 Mar 2007 13:55:53 +0000 (13:55 +0000)]
add a new sample flasher.pl

17 years agoattempt to work around a compiler bug in the gcc pre-4.0 that shipped
Tony Cook [Sun, 25 Mar 2007 11:56:52 +0000 (11:56 +0000)]
attempt to work around a compiler bug in the gcc pre-4.0 that shipped
with OS X 10.4

17 years agomore to do
Tony Cook [Sun, 25 Mar 2007 11:22:22 +0000 (11:22 +0000)]
more to do

17 years agomore to do
Tony Cook [Thu, 22 Mar 2007 11:04:00 +0000 (11:04 +0000)]
more to do

17 years agogenerate the %attr hash ourselves instead of with Data::Dumper since
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

17 years agosanity test new ft2 rendering
Tony Cook [Wed, 14 Mar 2007 10:54:25 +0000 (10:54 +0000)]
sanity test new ft2 rendering

17 years agoswitch to a manually built Changes file
Tony Cook [Tue, 13 Mar 2007 14:04:35 +0000 (14:04 +0000)]
switch to a manually built Changes file

17 years agoadd tests for mono make_colors
Tony Cook [Mon, 12 Mar 2007 09:40:02 +0000 (09:40 +0000)]
add tests for mono make_colors

17 years agorelease tasks for 0.56
Tony Cook [Sat, 10 Mar 2007 23:37:42 +0000 (23:37 +0000)]
release tasks for 0.56

17 years agothe OUTPUT typemap entry for the Imager type was adding an extra
Tony Cook [Sat, 10 Mar 2007 23:03:37 +0000 (23:03 +0000)]
the OUTPUT typemap entry for the Imager type was adding an extra
reference to the wrapper object, causing the objects to leak.

RT #24992

17 years agopgm.pgm was missing from MANIFEST
Tony Cook [Mon, 19 Feb 2007 23:52:03 +0000 (23:52 +0000)]
pgm.pgm was missing from MANIFEST

17 years agofix test count
Tony Cook [Mon, 19 Feb 2007 13:03:18 +0000 (13:03 +0000)]
fix test count

17 years agothe image data offset wasn't validated when reading a 240bit bmp
Tony Cook [Mon, 5 Feb 2007 10:21:32 +0000 (10:21 +0000)]
the image data offset wasn't validated when reading a 240bit bmp

error messages weren't being passed back to errstr() when we failed to
write a BMP file.

document Imager::Test::is_image()

BMP files with negative heights weren't being handled correctly

lots of bmp tests

17 years agocoverage tests for incomplete files - both error and allow_incomplete
Tony Cook [Wed, 31 Jan 2007 13:00:47 +0000 (13:00 +0000)]
coverage tests for incomplete files - both error and allow_incomplete
cases

17 years agocorrect i_lines_read for direct color bmp files
Tony Cook [Wed, 31 Jan 2007 12:59:47 +0000 (12:59 +0000)]
correct i_lines_read for direct color bmp files

17 years agoforgot to commit the matching test changes
Tony Cook [Tue, 30 Jan 2007 09:03:39 +0000 (09:03 +0000)]
forgot to commit the matching test changes

17 years agochange C<allow_partial> to C<allow_incomplete> to match the tag name
Tony Cook [Tue, 30 Jan 2007 08:58:39 +0000 (08:58 +0000)]
change C<allow_partial> to C<allow_incomplete> to match the tag name

17 years agosimpler creation of coverage reports
Tony Cook [Sun, 28 Jan 2007 01:54:58 +0000 (01:54 +0000)]
simpler creation of coverage reports

17 years agoremove unused variables from the typemap entry
Tony Cook [Mon, 15 Jan 2007 12:56:29 +0000 (12:56 +0000)]
remove unused variables from the typemap entry

17 years agofill out files missing froom MANIFEST
Tony Cook [Mon, 8 Jan 2007 09:14:23 +0000 (09:14 +0000)]
fill out files missing froom MANIFEST

17 years agoVarious changes:
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

17 years agorelease notes
Tony Cook [Sat, 16 Dec 2006 22:33:52 +0000 (22:33 +0000)]
release notes

17 years agobump to 0.55: Imager-0.55
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.

17 years agosearch $Config{incpath} for headers too, why this was left out I don't know
Tony Cook [Fri, 15 Dec 2006 23:05:31 +0000 (23:05 +0000)]
search $Config{incpath} for headers too, why this was left out I don't know

17 years agowork around a bug in some intermediate versions of Test::More, fixed in current releases
Tony Cook [Fri, 15 Dec 2006 22:32:20 +0000 (22:32 +0000)]
work around a bug in some intermediate versions of Test::More, fixed in current releases

17 years agoinclude meta-spec in META.yml as required by the spec
Tony Cook [Fri, 15 Dec 2006 03:30:09 +0000 (03:30 +0000)]
include meta-spec in META.yml as required by the spec

17 years agoTest::More is now a pre-requisite for Imager, so remove it from the
Tony Cook [Fri, 15 Dec 2006 03:27:29 +0000 (03:27 +0000)]
Test::More is now a pre-requisite for Imager, so remove it from the
distribution.

17 years agolink zlib in using the default installed library name on Win32 instead of as libz.
Tony Cook [Thu, 14 Dec 2006 13:52:53 +0000 (13:52 +0000)]
link zlib in using the default installed library name on Win32 instead of as libz.

fixes RT #23064

17 years agofix check for MSVC
Tony Cook [Thu, 14 Dec 2006 13:46:32 +0000 (13:46 +0000)]
fix check for MSVC

fixed RT 23922

17 years agoconvert ok(... eq ..., ... ) to is(..., ..., ...)
Tony Cook [Sun, 26 Nov 2006 11:25:29 +0000 (11:25 +0000)]
convert ok(... eq ..., ... ) to is(..., ..., ...)
RT 23184

17 years agoavoid most compilter warnings produced by GCC 4.1
Tony Cook [Sun, 26 Nov 2006 10:49:52 +0000 (10:49 +0000)]
avoid most compilter warnings produced by GCC 4.1

17 years agoavoid various compiler warnings
Tony Cook [Sun, 19 Nov 2006 11:25:55 +0000 (11:25 +0000)]
avoid various compiler warnings

17 years agoswitch to Test::More in a few more test scripts, eliminate the
Tony Cook [Thu, 9 Nov 2006 12:48:13 +0000 (12:48 +0000)]
switch to Test::More in a few more test scripts, eliminate the
testtools okx/okn variants

17 years agofix a pod error introduced in the previous commit
Tony Cook [Thu, 9 Nov 2006 12:24:23 +0000 (12:24 +0000)]
fix a pod error introduced in the previous commit

17 years agominor documentation tweaks
Tony Cook [Thu, 9 Nov 2006 10:57:08 +0000 (10:57 +0000)]
minor documentation tweaks

17 years agoadded tests for the overflowing box changes, fix draw
Tony Cook [Mon, 6 Nov 2006 10:56:10 +0000 (10:56 +0000)]
added tests for the overflowing box changes, fix draw
string to channel string length for win32 driver

17 years agoconvert t/t00basic to Test::More and have it try to load all of the core modules
Tony Cook [Mon, 6 Nov 2006 10:22:50 +0000 (10:22 +0000)]
convert t/t00basic to Test::More and have it try to load all of the core modules

17 years agofixed a variety of problems:
Tony Cook [Sun, 29 Oct 2006 08:37:43 +0000 (08:37 +0000)]
fixed a variety of problems:
 - global descent from bounding box has been the wrong sign forever
 - the left and right side bearing calculations were ignoring the utf 8 flag
 - glyphs that overflowed the left or right side of the advance width were being clipped
 - the ascent/descent calculations were completely broken by the last (unreleased) commit, fixed that

17 years agofix test skip counts for missing/available platforms.
Tony Cook [Wed, 25 Oct 2006 14:16:33 +0000 (14:16 +0000)]
fix test skip counts for missing/available platforms.

17 years agouse SvPV to get the length of text to draw rather than strlen(), add
Tony Cook [Wed, 25 Oct 2006 14:04:44 +0000 (14:04 +0000)]
use SvPV to get the length of text to draw rather than strlen(), add
tests for the functionality.

https://rt.cpan.org/Ticket/Display.html?id=21770

17 years agobreak out of the search loop early when we find the right utf8 code
Tony Cook [Wed, 25 Oct 2006 13:24:25 +0000 (13:24 +0000)]
break out of the search loop early when we find the right utf8 code
length

17 years agothe decription of the page parameter didn't belong in the description
Tony Cook [Wed, 25 Oct 2006 00:58:10 +0000 (00:58 +0000)]
the decription of the page parameter didn't belong in the description
of the tags.