]> git.imager.perl.org - imager.git/log
imager.git
18 years agosvn:ignore some more profiler files and other junk
Tony Cook [Tue, 4 Jul 2006 11:17:12 +0000 (11:17 +0000)]
svn:ignore some more profiler files and other junk

we now pass the pod coverage test on the Imager class, remove the TODO

add pod coverage tests for several other classes, and pass them

18 years agodon't include the line number in the From comment so since unrelated edits
Tony Cook [Sat, 1 Jul 2006 05:38:11 +0000 (05:38 +0000)]
don't include the line number in the From comment so since unrelated edits
were causing changes to APIRef.pm.  This is still possible but they should
be a lot less frequence.

18 years agoadded error handling tests for bad colors supplied to addcolors()
Tony Cook [Sat, 1 Jul 2006 05:31:35 +0000 (05:31 +0000)]
added error handling tests for bad colors supplied to addcolors()
and setcolors()

18 years agoadd more iolayer tests
Tony Cook [Fri, 30 Jun 2006 13:51:45 +0000 (13:51 +0000)]
add more iolayer tests
callback handler fixes to return errors correctly
Imager::IO XS changes to make errors return empty lists
iolayer error handling fixes
documented Imager::IO methods

18 years agosetcolors() and addcolors() can now accept non-object colors like most
Tony Cook [Thu, 29 Jun 2006 11:39:10 +0000 (11:39 +0000)]
setcolors() and addcolors() can now accept non-object colors like most
other methods

18 years agoextra jpeg tests to improve code coverage of jpeg.c
Tony Cook [Thu, 29 Jun 2006 11:06:16 +0000 (11:06 +0000)]
extra jpeg tests to improve code coverage of jpeg.c

18 years agolong delayed renaming of m_fatal() to i_fatal() to match Imager's
Tony Cook [Thu, 29 Jun 2006 10:56:09 +0000 (10:56 +0000)]
long delayed renaming of m_fatal() to i_fatal() to match Imager's
functions in general

18 years agoMETA.yml changed due to release
Tony Cook [Thu, 29 Jun 2006 10:53:07 +0000 (10:53 +0000)]
META.yml changed due to release

18 years agoadd missing parameter required by format in wiol_empty_output_buffer
Tony Cook [Thu, 29 Jun 2006 10:51:12 +0000 (10:51 +0000)]
add missing parameter required by format in wiol_empty_output_buffer

18 years agobump to 0.51_01 for release Imager-0.51_01
Tony Cook [Wed, 28 Jun 2006 13:22:25 +0000 (13:22 +0000)]
bump to 0.51_01 for release

18 years agohandle a missing Changes file when checking if we need to generate one.
Tony Cook [Tue, 27 Jun 2006 14:38:10 +0000 (14:38 +0000)]
handle a missing Changes file when checking if we need to generate one.

18 years agodocument the image file limit functions for the API
Tony Cook [Tue, 27 Jun 2006 14:25:03 +0000 (14:25 +0000)]
document the image file limit functions for the API

18 years agoinclude stddef.h for size_t
Tony Cook [Tue, 27 Jun 2006 12:50:28 +0000 (12:50 +0000)]
include stddef.h for size_t

18 years agoimplement a flood_fill that stops at a given color rather than filling
Tony Cook [Tue, 27 Jun 2006 12:20:47 +0000 (12:20 +0000)]
implement a flood_fill that stops at a given color rather than filling
a region of the color at the start poiint.

from perl you can call flood_fill() with a border parameter to specify
a fill to border.

from the API call the i_flood_fill_border() or i_flood_cfill_border()
function.

18 years agoMakefile was generating lib/Imager/APIRef.pod, not
Tony Cook [Tue, 27 Jun 2006 12:12:12 +0000 (12:12 +0000)]
Makefile was generating lib/Imager/APIRef.pod, not
lib/Imager/APIRef.pm

18 years agouse the ExtUtils::MakeMaker prompt() function to ask about including
Tony Cook [Mon, 26 Jun 2006 13:14:54 +0000 (13:14 +0000)]
use the ExtUtils::MakeMaker prompt() function to ask about including
gif support instead of <STDIN>

18 years agodocument parseiptc()
Tony Cook [Mon, 26 Jun 2006 12:57:00 +0000 (12:57 +0000)]
document parseiptc()
  https://rt.cpan.org/Ticket/Display.html?id=17894

18 years agoclarify that FORMATGUESS is only used when writing to a file.
Tony Cook [Mon, 26 Jun 2006 12:34:40 +0000 (12:34 +0000)]
clarify that FORMATGUESS is only used when writing to a file.
  http://rt.cpan.org/Ticket/Display.html?id=18773

18 years agoadd support for file write plugins
Tony Cook [Mon, 26 Jun 2006 12:20:27 +0000 (12:20 +0000)]
add support for file write plugins

fix write_multi() writing to scalars
  https://rt.cpan.org/Ticket/Display.html?id=19982

add support for writing to ICO/CUR image files

added file limit check functions to the API

18 years agoadd inline_capture2image.pl sample
Tony Cook [Mon, 22 May 2006 03:46:15 +0000 (03:46 +0000)]
add inline_capture2image.pl sample

18 years agorename APIRef.pm, API.pm to *.pod since they contain no code
Tony Cook [Mon, 22 May 2006 03:29:51 +0000 (03:29 +0000)]
rename APIRef.pm, API.pm to *.pod since they contain no code

18 years agofix documentation nit
Tony Cook [Mon, 22 May 2006 03:24:49 +0000 (03:24 +0000)]
fix documentation nit

18 years agoadded kwalitee test script to the MANIFEST
Tony Cook [Mon, 22 May 2006 03:24:20 +0000 (03:24 +0000)]
added kwalitee test script to the MANIFEST

18 years agogive lib/Imager/ExtUtils.pm a version number
Tony Cook [Mon, 22 May 2006 03:23:50 +0000 (03:23 +0000)]
give lib/Imager/ExtUtils.pm a version number

18 years agoadded "kwalitee" test script:
Tony Cook [Mon, 22 May 2006 03:23:11 +0000 (03:23 +0000)]
added "kwalitee" test script:
 - currently tests all pl/pm/PL files have use strict
 - added use strict to all pl/pm/PL files with code in them

18 years agoi_test_format_probe:
Tony Cook [Mon, 22 May 2006 03:18:27 +0000 (03:18 +0000)]
i_test_format_probe:
 - added Utah RLE,
 - separated ICO and CUR file formats,
 - fix duplicate PCX entry

18 years agominor updates, make it clear in the title this documents the C level.
Tony Cook [Sat, 29 Apr 2006 14:53:11 +0000 (14:53 +0000)]
minor updates, make it clear in the title this documents the C level.
tags is now used.
there's been a double image type for a while now.

18 years agochanged the title to better reflect what it documents - model, not
Tony Cook [Sat, 29 Apr 2006 14:44:27 +0000 (14:44 +0000)]
changed the title to better reflect what it documents - model, not
internals.
Split out the initial paragraphs into more concise statements.

19 years ago- Calling setpixel() with color set to [ 0, 0, 0 ] would crash with
Tony Cook [Wed, 19 Apr 2006 12:19:56 +0000 (12:19 +0000)]
- Calling setpixel() with color set to [ 0, 0, 0 ] would crash with
Can't locate object method "new" via package "Imager::Color::Float" ...

- having the color parameter code create floating point colors could
cause other problems too, since most of the underlying functions can't
handle them, so removed the attempt to create float colors.

Fixes #18561

19 years agoSpecifying the bottom edge of the source image to paste was broken in
Tony Cook [Wed, 19 Apr 2006 04:05:45 +0000 (04:05 +0000)]
Specifying the bottom edge of the source image to paste was broken in
a couple of different ways.
Fixes #18712

19 years agoadd AUTHOR, SEE ALSO, REVISION sections
Tony Cook [Mon, 3 Apr 2006 23:53:26 +0000 (23:53 +0000)]
add AUTHOR, SEE ALSO, REVISION sections

19 years agofix range checking on IFD entry data types. This could cause various
Tony Cook [Sun, 2 Apr 2006 06:57:56 +0000 (06:57 +0000)]
fix range checking on IFD entry data types.  This could cause various
crashes.
Fixes #18496

19 years agobackport fix for RT issue 18397
Tony Cook [Thu, 30 Mar 2006 07:14:17 +0000 (07:14 +0000)]
backport fix for RT issue 18397

19 years agoadd format probes for SGI RGB, ILBM, XPM, PCX, FITS, Photoshop, EPS
Tony Cook [Thu, 30 Mar 2006 04:41:41 +0000 (04:41 +0000)]
add format probes for SGI RGB, ILBM, XPM, PCX, FITS, Photoshop, EPS

if you have an entry for some other format you want to implement let
me know.

19 years ago- implement reading MS Windows icon files
Tony Cook [Fri, 24 Mar 2006 09:49:57 +0000 (09:49 +0000)]
- implement reading MS Windows icon files

- add t/Pod/Coverage/Imager.pm to MANIFEST

- skip some more trash in MANIFEST.SKIP

19 years agomake the targa probe even stricter
Tony Cook [Fri, 24 Mar 2006 04:26:24 +0000 (04:26 +0000)]
make the targa probe even stricter

19 years ago- added support for registering file readers
Tony Cook [Thu, 23 Mar 2006 14:09:57 +0000 (14:09 +0000)]
- added support for registering file readers

- if you supply and unknown type value (or Imager probes and finds
one) then Imager will attempt to load "Imager::File::\Utypecode" (this
can register a file reader.)

- note: these changes may mean slightly different errors if you call
read_multi() with no file or type parameters, since read_multi() now
attempts to do the same file format probe that read() does.

19 years ago- i_test_format_probe() now attempts to detect MS Windows Icon/cursor files
Tony Cook [Thu, 23 Mar 2006 13:41:56 +0000 (13:41 +0000)]
- i_test_format_probe() now attempts to detect MS Windows Icon/cursor files

- made the TGA probe a bit more specific since it was giving false
  positives on icon files.

19 years agoMore iolayers work:
Tony Cook [Wed, 22 Mar 2006 01:01:15 +0000 (01:01 +0000)]
More iolayers work:

- rename the callback types
- move types and the call macros into iolayer.t
- move typedef for Imager__IO to imperl.h

so now io glue objects can be used from XS/Inline

19 years agomore iolayer goodness:
Tony Cook [Thu, 16 Mar 2006 05:41:10 +0000 (05:41 +0000)]
more iolayer goodness:

- make write/read/seek/close on an IO object visible as methods from perl

- allow SEEK_CUR on bufchains

19 years agoio_glue_destroy() now uses an extra callback to handle type specific
Tony Cook [Wed, 15 Mar 2006 12:49:49 +0000 (12:49 +0000)]
io_glue_destroy() now uses an extra callback to handle type specific
destruction, instead of switching on "class"

19 years agoiolayer modifications:
Tony Cook [Wed, 15 Mar 2006 12:08:47 +0000 (12:08 +0000)]
iolayer modifications:

- move private types and functions into iolayers.c

- make each layer "new" function do the initialization that
io_commit_types() was doing.

19 years agofixed incorrect filename for t/t93podcover.t in MANIFEST
Tony Cook [Wed, 15 Mar 2006 11:32:59 +0000 (11:32 +0000)]
fixed incorrect filename for t/t93podcover.t in MANIFEST

19 years agoremove the reference to IRC from SUPPORT, I'm not paying enough
Tony Cook [Tue, 14 Mar 2006 00:50:09 +0000 (00:50 +0000)]
remove the reference to IRC from SUPPORT, I'm not paying enough
attention there for it to be useful.  Yes, there is a channel, but the
mailing list/perlmonks/direct email/cpanratings are more likely to get
you some help.

19 years agoprevent the parseiptc method from warning when there's no IPTC data to
Tony Cook [Mon, 13 Mar 2006 02:46:48 +0000 (02:46 +0000)]
prevent the parseiptc method from warning when there's no IPTC data to
process

19 years agoPOD coverage tests, as a TODO for now
Tony Cook [Mon, 13 Mar 2006 01:58:44 +0000 (01:58 +0000)]
POD coverage tests, as a TODO for now

19 years agorename some private functions to private names
Tony Cook [Sat, 11 Mar 2006 13:16:47 +0000 (13:16 +0000)]
rename some private functions to private names

19 years agomalloc_state() no longer writes to stdout when Imager is built without
Tony Cook [Thu, 9 Mar 2006 00:56:19 +0000 (00:56 +0000)]
malloc_state() no longer writes to stdout when Imager is built without
memory debugging

19 years agoinitial targets for 0.50
Tony Cook [Wed, 8 Mar 2006 12:11:41 +0000 (12:11 +0000)]
initial targets for 0.50

19 years agoSkip Inline tests when we're in a directory containing spaces in the
Tony Cook [Wed, 8 Mar 2006 11:56:41 +0000 (11:56 +0000)]
Skip Inline tests when we're in a directory containing spaces in the
path, since Inline itself errors out when used in such a directory.
See #4150.

Fixes: 18049.
19 years agoremoved unreachable code (mymalloc() succeeds or exit()s)
Tony Cook [Tue, 7 Mar 2006 12:06:50 +0000 (12:06 +0000)]
removed unreachable code (mymalloc() succeeds or exit()s)

19 years agoActually get the changes in the right order.
Tony Cook [Tue, 7 Mar 2006 12:01:38 +0000 (12:01 +0000)]
Actually get the changes in the right order.

19 years agoNew changes will be listed most recent first, and is generated from
Tony Cook [Tue, 7 Mar 2006 11:54:01 +0000 (11:54 +0000)]
New changes will be listed most recent first, and is generated from
svn log.

Changes for older revisions of Imager can be found in Changes.old.

19 years ago- bump to 0.49 Imager-0.49
Tony Cook [Tue, 7 Mar 2006 00:50:39 +0000 (00:50 +0000)]
- bump to 0.49

19 years ago- some error paths when reading GIF images weren't closing the GIF
Tony Cook [Tue, 7 Mar 2006 00:25:10 +0000 (00:25 +0000)]
- some error paths when reading GIF images weren't closing the GIF
  read object. (detected by valgrind)

19 years ago- writing to a PNG file was leaking one memory block
Tony Cook [Mon, 6 Mar 2006 00:48:03 +0000 (00:48 +0000)]
- writing to a PNG file was leaking one memory block
  (detected by valgrind)

19 years ago- i_gsampf() (used to implement getsamples() for floating point samples)
Tony Cook [Sun, 5 Mar 2006 23:37:36 +0000 (23:37 +0000)]
- i_gsampf() (used to implement getsamples() for floating point samples)
  was leaking memory. (detected by valgrind)

19 years ago- free the TIFF object correctly when reading a TIFF image and the
Tony Cook [Sun, 5 Mar 2006 23:10:00 +0000 (23:10 +0000)]
- free the TIFF object correctly when reading a TIFF image and the
  page number is out of range.

19 years ago- some jpeg.c logging calls didn't include parameters enough to match
Tony Cook [Sun, 5 Mar 2006 13:54:59 +0000 (13:54 +0000)]
- some jpeg.c logging calls didn't include parameters enough to match
  the supplied format string.
- in some cases memory wasn't being freed during error handling when
  reading jpeg images

19 years agoget the regexp right this time
Tony Cook [Sun, 5 Mar 2006 13:10:59 +0000 (13:10 +0000)]
get the regexp right this time

19 years ago- tifflib 3.8.0 with MDI (Microsoft(tm) TIFF) support produces a
Tony Cook [Sun, 5 Mar 2006 12:59:01 +0000 (12:59 +0000)]
- tifflib 3.8.0 with MDI (Microsoft(tm) TIFF) support produces a
  different error when it reads a file with a bad magic number.
  Update the test to handle the possible messages.

19 years ago- handle short EXIF user_comment fields correctly, previously Imager
Tony Cook [Sun, 5 Mar 2006 08:36:09 +0000 (08:36 +0000)]
- handle short EXIF user_comment fields correctly, previously Imager
  would read (and potentially) write beyond the end of an allocated block,
  or through a NULL pointer if the EXIF user_comment field was less
  than 8 bytes long.
  https://rt.cpan.org/Ticket/Display.html?id=17981

19 years ago- bump to 0.48
Tony Cook [Fri, 3 Mar 2006 04:37:40 +0000 (04:37 +0000)]
- bump to 0.48

19 years ago- removed unused hashinfo() function from Imager.xs
Tony Cook [Wed, 1 Mar 2006 02:15:22 +0000 (02:15 +0000)]
- removed unused hashinfo() function from Imager.xs
- added =items for various methods, so Pod::Coverage will pick them up
  (Pod::Coverage tests to be added in 0.49)

19 years agobump to 0.47_01
Tony Cook [Tue, 21 Feb 2006 04:59:41 +0000 (04:59 +0000)]
bump to 0.47_01

19 years ago- fix/simplify META.yml generation - we now generate META.yml at
Tony Cook [Tue, 21 Feb 2006 04:54:43 +0000 (04:54 +0000)]
- fix/simplify META.yml generation - we now generate META.yml at
  Makefile.PL time, since trying to work with EU::MM to generate a
  custom META.yml was a waste.

19 years ago- added version/level to the API function table structure
Tony Cook [Tue, 21 Feb 2006 00:57:24 +0000 (00:57 +0000)]
- added version/level to the API function table structure

19 years agoprevent duplicate probe messages for freetype 1.x probing
Tony Cook [Fri, 17 Feb 2006 13:13:55 +0000 (13:13 +0000)]
prevent duplicate probe messages for freetype 1.x probing

19 years agoput the prototypes line in the right place
Tony Cook [Fri, 17 Feb 2006 12:59:34 +0000 (12:59 +0000)]
put the prototypes line in the right place

19 years agoadd PROTOTYPES lines to XS that were missing them
Tony Cook [Fri, 17 Feb 2006 12:58:32 +0000 (12:58 +0000)]
add PROTOTYPES lines to XS that were missing them

19 years ago- make win32.c const happy
Tony Cook [Fri, 17 Feb 2006 12:39:15 +0000 (12:39 +0000)]
- make win32.c const happy
- make raw.c C89 compliant

19 years ago- make win32.c const happy
Tony Cook [Fri, 17 Feb 2006 12:38:13 +0000 (12:38 +0000)]
- make win32.c const happy
- make raw.c C89 compliant

19 years agooops
Tony Cook [Fri, 17 Feb 2006 12:03:48 +0000 (12:03 +0000)]
oops

19 years ago- more memory allocation integer overflow auditing
Tony Cook [Fri, 17 Feb 2006 12:01:20 +0000 (12:01 +0000)]
- more memory allocation integer overflow auditing
- IM_DEBUG_MALLOC wasn't interacting well with the API

19 years ago- eliminate sign warning from image.c
Tony Cook [Fri, 17 Feb 2006 08:31:28 +0000 (08:31 +0000)]
- eliminate sign warning from image.c
- make TIFF detection stricter

19 years agopoint dyn loader users at external filters docs
Tony Cook [Fri, 17 Feb 2006 08:12:28 +0000 (08:12 +0000)]
point dyn loader users at external filters docs

19 years ago- expand Imager::Transformations:
Tony Cook [Fri, 17 Feb 2006 06:48:17 +0000 (06:48 +0000)]
- expand Imager::Transformations:
  - document parameters more explicitly
  - document return values
  - add examples
  - add AUTHOR, SEE ALSO, REVISION

19 years ago- minor clean up of rubthrough() method
Tony Cook [Thu, 16 Feb 2006 06:41:41 +0000 (06:41 +0000)]
- minor clean up of rubthrough() method
- error handling tests for rubthrough()

19 years ago- convert t/t69rubthru.t to Test::More
Tony Cook [Mon, 13 Feb 2006 08:04:18 +0000 (08:04 +0000)]
- convert t/t69rubthru.t to Test::More

19 years ago- rotate()s back parameter now accepts color names like other methods
Tony Cook [Sat, 11 Feb 2006 12:57:12 +0000 (12:57 +0000)]
- rotate()s back parameter now accepts color names like other methods

19 years ago- add tests for scaleX()/scaleY()
Tony Cook [Fri, 10 Feb 2006 08:20:26 +0000 (08:20 +0000)]
- add tests for scaleX()/scaleY()
- expand documentation of scaleX()/scaleY()

19 years ago- check $Config{ldflags} and $Config{ccflags} for places to search for
Tony Cook [Thu, 9 Feb 2006 23:45:56 +0000 (23:45 +0000)]
- check $Config{ldflags} and $Config{ccflags} for places to search for
  headers and libraries.  This deals with the way the fink build of perl
  puts -L/sw/lib in ldflags rather than using loclibpth
- eliminate some of the duplication of -I and -L options in LIBS and INC
- Makefile.PL now uses strict.
- the search for freetype1.x headers is now smarter

19 years ago- sick of $opts{scalefactor} in scale(), give it a scalar to call it's
Tony Cook [Sun, 5 Feb 2006 14:25:45 +0000 (14:25 +0000)]
- sick of $opts{scalefactor} in scale(), give it a scalar to call it's
  own.

19 years ago- scale() can now expect an Image::Math::Constrain object as a scaling
Tony Cook [Sun, 5 Feb 2006 14:07:23 +0000 (14:07 +0000)]
- scale() can now expect an Image::Math::Constrain object as a scaling
  constraint via the constrain parameter.
- added tests for the various ways we can specify scaling size
- documented scale()'s scalefactor parameter

19 years ago- smarter warning removal
Tony Cook [Sun, 5 Feb 2006 13:15:20 +0000 (13:15 +0000)]
- smarter warning removal
- handle effects of byte ordering when testing tiff error messages

19 years ago- make scale() fail if an invalid type is supplied (previously
Tony Cook [Sun, 5 Feb 2006 13:04:49 +0000 (13:04 +0000)]
- make scale() fail if an invalid type is supplied (previously
  documented as undefined behaviour)
- add error handling tests for scale()

19 years agomore todo
Tony Cook [Sun, 5 Feb 2006 11:49:44 +0000 (11:49 +0000)]
more todo

19 years ago- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
Tony Cook [Tue, 31 Jan 2006 00:21:35 +0000 (00:21 +0000)]
- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
  since T.4 normally works that way, and MINISBLACK confuses some readers.

19 years ago- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
Tony Cook [Tue, 31 Jan 2006 00:06:47 +0000 (00:06 +0000)]
- change faxable output to use a more fax natural PHOTOMETRIC_MINISWHITE,
  since T.4 normally works that way, and MINISBLACK confuses some readers.

19 years ago- update README to match unbuggy giflib
Tony Cook [Mon, 30 Jan 2006 23:37:31 +0000 (23:37 +0000)]
- update README to match unbuggy giflib
- document index parameter of Imager::Font->new()

19 years ago- eliminate many -Wall warnings
Tony Cook [Mon, 30 Jan 2006 04:18:02 +0000 (04:18 +0000)]
- eliminate many -Wall warnings

19 years agominor POD fix in Imager::Color::Table
Tony Cook [Mon, 30 Jan 2006 03:57:12 +0000 (03:57 +0000)]
minor POD fix in Imager::Color::Table

19 years ago- supply C<imager> parameter to filters so we can register filters
Tony Cook [Mon, 30 Jan 2006 01:13:04 +0000 (01:13 +0000)]
- supply C<imager> parameter to filters so we can register filters
  implemented in perl.
- document register_filter() and add test for it
- add example to SYNOPSIS of samples/inline_replace_color.pl

19 years ago- handle the possibility of strerror() returning NULL.
Tony Cook [Fri, 27 Jan 2006 03:09:59 +0000 (03:09 +0000)]
- handle the possibility of strerror() returning NULL.

19 years ago- convert t/t07iolayer.t to Test::More
Tony Cook [Tue, 24 Jan 2006 13:35:04 +0000 (13:35 +0000)]
- convert t/t07iolayer.t to Test::More

19 years ago- make skip when Inline::C not available less verbose
Tony Cook [Mon, 23 Jan 2006 04:23:17 +0000 (04:23 +0000)]
- make skip when Inline::C not available less verbose

19 years ago- added typemap type names to types in Imager::API.
Tony Cook [Sat, 21 Jan 2006 03:50:00 +0000 (03:50 +0000)]
- added typemap type names to types in Imager::API.

19 years ago- reading a raw image no longer exits on a short read or read error,
Tony Cook [Wed, 18 Jan 2006 14:06:50 +0000 (14:06 +0000)]
- reading a raw image no longer exits on a short read or read error,
  and returns an appropriate error message in $im->errstr
- write failures when writing a raw image now return a useful
  message in $im->errstr

19 years ago- convert t/t103raw.t to Test::More
Tony Cook [Wed, 18 Jan 2006 12:40:42 +0000 (12:40 +0000)]
- convert t/t103raw.t to Test::More

19 years ago- error messages when writing TIFF images were always
Tony Cook [Wed, 18 Jan 2006 12:18:51 +0000 (12:18 +0000)]
- error messages when writing TIFF images were always
  'Could not write to buffer', more useful messages are now reported.
- error messages when writing PNM images were always
  'unable to write pnm image', more useful messages are now reported.