imager.git
18 years ago - added comment support the postfix transform2() expression
Tony Cook [Thu, 26 Jun 2003 03:50:00 +0000 (03:50 +0000)]
    - added comment support the postfix transform2() expression
          parser
        - transform2() can now produce images with other than 3 channels.
        - added a correct T_AVREF input mapping to the typemap to
          simplify parameter lists

18 years agoimage fills with images with channels not at 4 were broken
Tony Cook [Wed, 25 Jun 2003 03:22:14 +0000 (03:22 +0000)]
image fills with images with channels not at 4 were broken

18 years agoAdded preliminary support for adding image based fonts.
Arnar Mar Hrafnkelsson [Sun, 30 Mar 2003 12:03:37 +0000 (12:03 +0000)]
Added preliminary support for adding image based fonts.

18 years agoAdded extra parameters to rubthrough so only a subimage of
Arnar Mar Hrafnkelsson [Sat, 29 Mar 2003 12:24:05 +0000 (12:24 +0000)]
Added extra parameters to rubthrough so only a subimage of
the source image is copied.

18 years ago - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
Tony Cook [Tue, 4 Mar 2003 04:13:21 +0000 (04:13 +0000)]
    - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
          which we use, define it if freetype doesn't.

18 years agoNote that only FT2 supports transforms so far.
Tony Cook [Mon, 13 Jan 2003 02:52:40 +0000 (02:52 +0000)]
Note that only FT2 supports transforms so far.

18 years ago - Debian woody supplied FT2.0.9, which didn't support
Tony Cook [Fri, 3 Jan 2003 02:06:07 +0000 (02:06 +0000)]
    - Debian woody supplied FT2.0.9, which didn't support
          FT_Has_PS_Names(), so we use the FT_HAS_GLYPH_NAMES() macro
          instead.

18 years agoFixed return type not being on seperate line.
Arnar Mar Hrafnkelsson [Tue, 31 Dec 2002 14:44:44 +0000 (14:44 +0000)]
Fixed return type not being on seperate line.

18 years ago - implemented i_t1_has_chars(), tests for same
Tony Cook [Tue, 31 Dec 2002 14:38:39 +0000 (14:38 +0000)]
    - implemented i_t1_has_chars(), tests for same
        - added ExistenceTest.{pfb,afm,ttf} for testing $font->has_chars
        - tests for Imager::Font::Type1::has_chars();
        - tests for Imager::Font::Truetype::has_chars();
        - internal and external bounding box calculations now use
          the same hint flags as text output for Freetype 2.x
        - made the i_foo_bbox() interface more expandable by using
          symbolic constants for the sizes and array offsets
        - added a / character to the ExistenceTest.foo fonts that
          overlaps the right side of the character cell, to test the
          advance width reporting.
        - added advance width to the i_foo_bbox() interface, and
          implemented it for FT2, FT1 and Type 1
        - Imager::Font::bounding_box() now returns an Imager::Font::BBox
          object in scalar context.
        - implemented $font->align() text output method, for simple output
          of aligned text
        - created Imager::Font::Wrap::wrap_text to perform simple text
          wrapping
        - FT1, FT2 and T1 fonts now support the face_name method
        - FT1, FT2 and T1 now support the glyph_names() method

18 years agofixed some minor test code hiccups
Tony Cook [Fri, 13 Dec 2002 00:34:40 +0000 (00:34 +0000)]
fixed some minor test code hiccups

18 years ago - the default tifflib warning handler was crashing on Win32
Tony Cook [Tue, 5 Nov 2002 14:14:23 +0000 (14:14 +0000)]
    - the default tifflib warning handler was crashing on Win32
          under ActivePerl, when an unrecognized tag was read from the
          file.  For now we'll just drop the warnings in the bit bucket.
          (Ticket #1513)
        - the code to read multiple tiffs didn't handle files with more
          than five images correctly, causing a memory overrun.

18 years agofixed issue reported in ticket 1748, and added smoke tests that should
Tony Cook [Tue, 5 Nov 2002 00:11:23 +0000 (00:11 +0000)]
fixed issue reported in ticket 1748, and added smoke tests that should
have been there to detect it in the first place ;)
updated t37w32font.t to allow for i_draw to i_line rename
removed non-portable call to rint()

19 years agoTypo fix.
Arnar Mar Hrafnkelsson [Sun, 15 Sep 2002 23:15:21 +0000 (23:15 +0000)]
Typo fix.

19 years agoChanges to t50basicoo.t test... not working yet.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:46:57 +0000 (01:46 +0000)]
Changes to t50basicoo.t test... not working yet.

19 years agoAdded breaks into switch statements.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:27:14 +0000 (01:27 +0000)]
Added breaks into switch statements.

19 years agoRemoved wierd extra code.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 01:23:00 +0000 (01:23 +0000)]
Removed wierd extra code.

19 years agoAutodetection of fileformat as loading.
Arnar Mar Hrafnkelsson [Thu, 22 Aug 2002 00:32:20 +0000 (00:32 +0000)]
Autodetection of fileformat as loading.

19 years agoMore debugging for auto probing of image types.
Arnar Mar Hrafnkelsson [Tue, 20 Aug 2002 01:32:11 +0000 (01:32 +0000)]
More debugging for auto probing of image types.

19 years agoMore support for autodetection of formats, still some error comes up in
Arnar Mar Hrafnkelsson [Tue, 20 Aug 2002 00:54:15 +0000 (00:54 +0000)]
More support for autodetection of formats, still some error comes up in
t50basicoo.t.

19 years agoFixed broken 'not ok' message.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 23:59:33 +0000 (23:59 +0000)]
Fixed broken 'not ok' message.

19 years agoSupport for probing for fileformats.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 22:48:07 +0000 (22:48 +0000)]
Support for probing for fileformats.

19 years agoRemoved cruft since not all formats supported loading with iolayer.
Arnar Mar Hrafnkelsson [Mon, 19 Aug 2002 18:56:46 +0000 (18:56 +0000)]
Removed cruft since not all formats supported loading with iolayer.

19 years agoAdded extra paths for rgb.txt on solaris.
Arnar Mar Hrafnkelsson [Wed, 14 Aug 2002 16:04:33 +0000 (16:04 +0000)]
Added extra paths for rgb.txt on solaris.

19 years agotemporary scaling test code, proper defaults for crop().
Arnar Mar Hrafnkelsson [Thu, 8 Aug 2002 06:00:51 +0000 (06:00 +0000)]
temporary scaling test code, proper defaults for crop().

19 years agoFixed r= instead of r=> in 4 places!
Arnar Mar Hrafnkelsson [Wed, 17 Jul 2002 18:20:49 +0000 (18:20 +0000)]
Fixed r= instead of r=> in 4 places!

19 years agoDoc patch so people know where to look for new().
Arnar Mar Hrafnkelsson [Wed, 17 Jul 2002 18:18:10 +0000 (18:18 +0000)]
Doc patch so people know where to look for new().

19 years agoFixed tiff handling of images all contained in a single strip
Arnar Mar Hrafnkelsson [Tue, 9 Jul 2002 14:52:30 +0000 (14:52 +0000)]
Fixed tiff handling of images all contained in a single strip
(rowsperstrip = -1) and added a hack for images missing the rowsperstrip
tag.

19 years agowatermark was using a hardcoded size for watermarks (how embarrasing!).
Arnar Mar Hrafnkelsson [Fri, 21 Jun 2002 15:38:19 +0000 (15:38 +0000)]
watermark was using a hardcoded size for watermarks (how embarrasing!).

19 years agoFixed missing word in pod doc, thanks Juerd.
Arnar Mar Hrafnkelsson [Fri, 31 May 2002 13:05:05 +0000 (13:05 +0000)]
Fixed missing word in pod doc, thanks Juerd.

19 years agoFixed empty string handling for tt font driver.
Arnar Mar Hrafnkelsson [Thu, 30 May 2002 17:00:45 +0000 (17:00 +0000)]
Fixed empty string handling for tt font driver.

19 years ago- update the URLs for libpng and zlib
Tony Cook [Thu, 23 May 2002 02:44:35 +0000 (02:44 +0000)]
- update the URLs for libpng and zlib

19 years ago- mc_web_map was storing colors with an alpha of 0
Tony Cook [Thu, 23 May 2002 01:01:27 +0000 (01:01 +0000)]
- mc_web_map was storing colors with an alpha of 0

19 years agowe want the low-level functions too
Tony Cook [Fri, 10 May 2002 04:20:55 +0000 (04:20 +0000)]
we want the low-level functions too

19 years ago - handle UTF8 strings passed to T1 low-level functions
Tony Cook [Thu, 9 May 2002 13:23:08 +0000 (13:23 +0000)]
    - handle UTF8 strings passed to T1 low-level functions
        - handle flags for underline, strikethrough and overline for T1
          low-level output functions
        - OO interfaces to UTF8 and flags, for now leaving the flags as
          specific to Imager::Font::Type1

19 years agohas_chars() support for freetype 1.x
Tony Cook [Sun, 5 May 2002 03:33:00 +0000 (03:33 +0000)]
has_chars() support for freetype 1.x
minor bug fixes

19 years agoModified i_line_aa to use a modified bresenham algorithm. This method
Arnar Mar Hrafnkelsson [Sun, 5 May 2002 03:11:13 +0000 (03:11 +0000)]
Modified i_line_aa to use a modified bresenham algorithm.  This method
also does endpoint handling like i_line does.  This will hopefully make
line drawing more consistent.

19 years agoSwitched i_draw to i_line, added endpoint boolean condition,
Arnar Mar Hrafnkelsson [Thu, 2 May 2002 20:20:34 +0000 (20:20 +0000)]
Switched i_draw to i_line, added endpoint boolean condition,
switched the algorithm to Bresenham from a stupid floating point
implementation.  Updated docs.

19 years agovarious changes from trying to build on testdrive
Tony Cook [Wed, 1 May 2002 13:53:46 +0000 (13:53 +0000)]
various changes from trying to build on testdrive

19 years ago(Hopefully) last fix for flood fill crash.
Arnar Mar Hrafnkelsson [Wed, 1 May 2002 11:10:58 +0000 (11:10 +0000)]
(Hopefully) last fix for flood fill crash.

19 years agoSecond attempt at flood fix.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 18:32:41 +0000 (18:32 +0000)]
Second attempt at flood fix.

19 years agoflood fill fix added to changelog.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 13:22:13 +0000 (13:22 +0000)]
flood fill fix added to changelog.

19 years agoFixed missing check that cause out of bounds access on bitmaps for flood fills.
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 13:02:17 +0000 (13:02 +0000)]
Fixed missing check that cause out of bounds access on bitmaps for flood fills.

19 years agoAdded checks to flood fill functions for seed pixel being outside of
Arnar Mar Hrafnkelsson [Tue, 30 Apr 2002 00:35:13 +0000 (00:35 +0000)]
Added checks to flood fill functions for seed pixel being outside of
the image.

19 years agolog of discussion on IRC
Tony Cook [Mon, 29 Apr 2002 23:15:33 +0000 (23:15 +0000)]
log of discussion on IRC

19 years agocomplex lines
Tony Cook [Mon, 29 Apr 2002 06:14:07 +0000 (06:14 +0000)]
complex lines

19 years agoDoc Patches from Cogent.
Arnar Mar Hrafnkelsson [Sat, 20 Apr 2002 06:36:55 +0000 (06:36 +0000)]
Doc Patches from Cogent.

19 years agosecond argument to SvPV() must have type STRLEN
Tony Cook [Thu, 18 Apr 2002 14:29:00 +0000 (14:29 +0000)]
second argument to SvPV() must have type STRLEN

19 years agosupport UTF with Freetype 1.x
Tony Cook [Thu, 18 Apr 2002 14:05:00 +0000 (14:05 +0000)]
support UTF with Freetype 1.x

19 years ago - document the values for the read() and write() method type
Tony Cook [Tue, 16 Apr 2002 12:51:10 +0000 (12:51 +0000)]
    - document the values for the read() and write() method type
          parameter

19 years agoquote the use of min in type=>min, and at least give it some basic
Tony Cook [Mon, 15 Apr 2002 23:26:11 +0000 (23:26 +0000)]
quote the use of min in type=>min, and at least give it some basic
documentation (scale() in Imager::Transformations)

19 years agoBumped version to 0.41 for trivial gif test fix.
Arnar Mar Hrafnkelsson [Fri, 12 Apr 2002 12:21:29 +0000 (12:21 +0000)]
Bumped version to 0.41 for trivial gif test fix.
NOTE: forgot to add changes entry for 0.41.

19 years agoit was meant to be skipn(), and output the skipped numbers correctly
Tony Cook [Fri, 12 Apr 2002 11:54:32 +0000 (11:54 +0000)]
it was meant to be skipn(), and output the skipped numbers correctly

19 years agotext, text, text
Tony Cook [Fri, 12 Apr 2002 01:19:02 +0000 (01:19 +0000)]
text, text, text

19 years agoAdded t/testtools.pl to MANIFEST.
Arnar Mar Hrafnkelsson [Wed, 10 Apr 2002 23:28:43 +0000 (23:28 +0000)]
Added t/testtools.pl to MANIFEST.

19 years agoRemoved heading of logo example in pod.
Arnar Mar Hrafnkelsson [Wed, 10 Apr 2002 23:14:42 +0000 (23:14 +0000)]
Removed heading of logo example in pod.

19 years ago- handle the first "buggy giflib" test more portably. Previously
Tony Cook [Sat, 6 Apr 2002 03:30:42 +0000 (03:30 +0000)]
- handle the first "buggy giflib" test more portably.  Previously
it used fork() which caused problems on systems that didn't have
a real fork().

19 years agoclarify the crop() documentation just for merlyn
Tony Cook [Fri, 5 Apr 2002 08:43:46 +0000 (08:43 +0000)]
clarify the crop() documentation just for merlyn

19 years agogive the output a good alpha channel if it doesn't have one
Tony Cook [Wed, 3 Apr 2002 13:21:37 +0000 (13:21 +0000)]
give the output a good alpha channel if it doesn't have one

19 years agoBumped version to 0.40pre2
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 14:38:14 +0000 (14:38 +0000)]
Bumped version to 0.40pre2

19 years agoDSO_close wasn't returning a value on Win32
Tony Cook [Mon, 1 Apr 2002 14:26:44 +0000 (14:26 +0000)]
DSO_close wasn't returning a value on Win32

19 years agoTab fixes :)
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 14:01:11 +0000 (14:01 +0000)]
Tab fixes :)

19 years agoAdded Imager version to output log.
Arnar Mar Hrafnkelsson [Mon, 1 Apr 2002 13:55:25 +0000 (13:55 +0000)]
Added Imager version to output log.

19 years agonote the change
Tony Cook [Mon, 1 Apr 2002 02:28:22 +0000 (02:28 +0000)]
note the change

19 years agohide or rename any symbols that are likely to conflict with other
Tony Cook [Mon, 1 Apr 2002 02:23:06 +0000 (02:23 +0000)]
hide or rename any symbols that are likely to conflict with other
libraries or perl

19 years agodifference() method
Tony Cook [Sun, 31 Mar 2002 12:41:54 +0000 (12:41 +0000)]
difference() method

19 years ago - hide more of our Darwin dlload emulation to prevent runtime
Tony Cook [Sun, 31 Mar 2002 11:09:10 +0000 (11:09 +0000)]
    - hide more of our Darwin dlload emulation to prevent runtime
          symbol conflicts
        - use INT2PTR() and PTR2IV() macros instead of direct casts to
          prevent pointer vs int size warnings on 64-bit builds of perl.
        - add our own INT2PTR and PTR2IV definitions when perl doesn't
          supply them

19 years agotry to fix OSX warnings
Tony Cook [Sun, 31 Mar 2002 10:46:54 +0000 (10:46 +0000)]
try to fix OSX warnings

19 years agouse INT2PTR if available
Tony Cook [Sun, 31 Mar 2002 10:41:36 +0000 (10:41 +0000)]
use INT2PTR if available

19 years agooops
Tony Cook [Sun, 31 Mar 2002 10:11:40 +0000 (10:11 +0000)]
oops

19 years agohide some more symbols that OSX complains about
Tony Cook [Sun, 31 Mar 2002 10:09:43 +0000 (10:09 +0000)]
hide some more symbols that OSX complains about

19 years agoFixed memory leak in freetype 1 cache.
Arnar Mar Hrafnkelsson [Sun, 31 Mar 2002 05:42:14 +0000 (05:42 +0000)]
Fixed memory leak in freetype 1 cache.

19 years agoFix for pod to make work with 5.005_03
Arnar Mar Hrafnkelsson [Sun, 31 Mar 2002 03:10:11 +0000 (03:10 +0000)]
Fix for pod to make work with 5.005_03

19 years agoget it right
Tony Cook [Sun, 31 Mar 2002 02:12:46 +0000 (02:12 +0000)]
get it right

19 years agomake sure we have alarm() support
Tony Cook [Sun, 31 Mar 2002 02:09:37 +0000 (02:09 +0000)]
make sure we have alarm() support

19 years agodisable the alarm after the test
Tony Cook [Sat, 30 Mar 2002 22:49:22 +0000 (22:49 +0000)]
disable the alarm after the test

19 years ago - i_box_cfill() went into an infinite loop on fountain fills
Tony Cook [Sat, 30 Mar 2002 13:59:13 +0000 (13:59 +0000)]
    - i_box_cfill() went into an infinite loop on fountain fills
          or fills on images with more than 8-bits/sample

19 years ago - handle the presence of the default broken giflib better,
Tony Cook [Fri, 29 Mar 2002 12:14:23 +0000 (12:14 +0000)]
    - handle the presence of the default broken giflib better,
          by giving them some more prose about the problem, and skipping
          all but the first test that fails with the broken giflib

19 years agoupdate skip count
Tony Cook [Mon, 25 Mar 2002 12:10:35 +0000 (12:10 +0000)]
update skip count

19 years agoTicket #369 - writing grayscale images to GIF
Tony Cook [Mon, 25 Mar 2002 11:52:49 +0000 (11:52 +0000)]
Ticket #369 - writing grayscale images to GIF
related change to support passing const channel arrays to i_gsamp()

19 years agodocument the t1log option to Imager::init()
Tony Cook [Tue, 19 Mar 2002 08:21:59 +0000 (08:21 +0000)]
document the t1log option to Imager::init()

19 years agomark end of 0.40pre1 changes
Tony Cook [Tue, 19 Mar 2002 00:28:25 +0000 (00:28 +0000)]
mark end of 0.40pre1 changes

19 years agoquote a few hash keys to prevent warnings on 5.004
Tony Cook [Tue, 19 Mar 2002 00:23:12 +0000 (00:23 +0000)]
quote a few hash keys to prevent warnings on 5.004

19 years agoforgot the ticket number
Tony Cook [Tue, 19 Mar 2002 00:08:07 +0000 (00:08 +0000)]
forgot the ticket number

19 years ago*** empty log message ***
Tony Cook [Mon, 18 Mar 2002 23:59:36 +0000 (23:59 +0000)]
*** empty log message ***

19 years agoSky's patch so Makefile.PL picks up libraries in correct order.
Arnar Mar Hrafnkelsson [Mon, 18 Mar 2002 13:50:34 +0000 (13:50 +0000)]
Sky's patch so Makefile.PL picks up libraries in correct order.

19 years agoBumped version to 0.40pre1.
Arnar Mar Hrafnkelsson [Sun, 17 Mar 2002 04:53:55 +0000 (04:53 +0000)]
Bumped version to 0.40pre1.

19 years agoremoved the items we've done
Tony Cook [Fri, 8 Mar 2002 05:30:19 +0000 (05:30 +0000)]
removed the items we've done

19 years agofix spelling error in message
Tony Cook [Fri, 8 Mar 2002 05:28:51 +0000 (05:28 +0000)]
fix spelling error in message

19 years agoMinor pod changes.
Arnar Mar Hrafnkelsson [Thu, 7 Mar 2002 18:11:12 +0000 (18:11 +0000)]
Minor pod changes.

19 years agoexamples in Imager::Files
Tony Cook [Thu, 7 Mar 2002 13:43:19 +0000 (13:43 +0000)]
examples in Imager::Files
document the mediancut algoritm
bug fix in some of the obsolete option handling

19 years agomerge write to gif tags updates
Tony Cook [Wed, 6 Mar 2002 12:08:23 +0000 (12:08 +0000)]
merge write to gif tags updates

19 years agoadded Artur's OSX dlload() emulation, with minor changes
Tony Cook [Sun, 3 Feb 2002 12:19:22 +0000 (12:19 +0000)]
added Artur's OSX dlload() emulation, with minor changes
modified _color() to work around a 5.6.0 bug

19 years agoHack to prevent crashing when libtiff wants to check the filesize of a file.
Arnar Mar Hrafnkelsson [Wed, 23 Jan 2002 02:34:20 +0000 (02:34 +0000)]
Hack to prevent crashing when libtiff wants to check the filesize of a file.
This only happens when certain conditions hold true in the tiff file.

19 years agoround the hsv to rgb results a little more nicely for integer RGB
Tony Cook [Tue, 22 Jan 2002 03:03:53 +0000 (03:03 +0000)]
round the hsv to rgb results a little more nicely for integer RGB

19 years agoAdded more verbose ok messages.
Arnar Mar Hrafnkelsson [Mon, 21 Jan 2002 23:25:38 +0000 (23:25 +0000)]
Added more verbose ok messages.

19 years agoRemoved old cruft from image.* and minor changes to rgb.c.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:15:14 +0000 (18:15 +0000)]
Removed old cruft from image.* and minor changes to rgb.c.

19 years agoFormatting change.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:10:29 +0000 (18:10 +0000)]
Formatting change.

19 years agoformat change.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:02:34 +0000 (18:02 +0000)]
format change.

19 years agoRemoved wrongly named file.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 03:46:50 +0000 (03:46 +0000)]
Removed wrongly named file.

19 years agoAdded Filters.pod instead of .pm!
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 03:44:32 +0000 (03:44 +0000)]
Added Filters.pod instead of .pm!