]> git.imager.perl.org - imager.git/log
imager.git
22 years agoSwitched all of jpeg to iolayer functions, removed older functions and did some
Arnar Mar Hrafnkelsson [Fri, 8 Jun 2001 18:48:15 +0000 (18:48 +0000)]
Switched all of jpeg to iolayer functions, removed older functions and did some
clean up.

22 years agoMore fixes still for iolayer changes.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 12:08:17 +0000 (12:08 +0000)]
More fixes still for iolayer changes.

22 years agoClean up after changing some formats to use iolayer.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 11:58:14 +0000 (11:58 +0000)]
Clean up after changing some formats to use iolayer.

22 years agoUpdated png to use _wlio functions, and fixed a filename error for ppm test.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 07:50:00 +0000 (07:50 +0000)]
Updated png to use _wlio functions, and fixed a filename error for ppm test.

22 years agoReplaced i_readraw() and i_writeraw() with the equivalent _wiol functions.
Arnar Mar Hrafnkelsson [Wed, 6 Jun 2001 17:28:30 +0000 (17:28 +0000)]
Replaced i_readraw() and i_writeraw() with the equivalent _wiol functions.

22 years agoRemoved i_writeppm and put in i_writeppm_wiol instead.
Arnar Mar Hrafnkelsson [Wed, 6 Jun 2001 05:03:37 +0000 (05:03 +0000)]
Removed i_writeppm and put in i_writeppm_wiol instead.

22 years agointerface consistency
Tony Cook [Mon, 28 May 2001 03:11:20 +0000 (03:11 +0000)]
interface consistency

22 years agoCompile time error fix if IM_NOLOG=1 was chosen
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:02:31 +0000 (09:02 +0000)]
Compile time error fix if IM_NOLOG=1 was chosen

22 years agoAdds aa circle into export_ok list.
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:01:56 +0000 (09:01 +0000)]
Adds aa circle into export_ok list.

22 years agoAdded a temporary circle antialiasing routine.
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:01:18 +0000 (09:01 +0000)]
Added a temporary circle antialiasing routine.

22 years agoFixed a bug which caused compile and runtime errors with IM_NOLOG=1
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:00:21 +0000 (09:00 +0000)]
Fixed a bug which caused compile and runtime errors with IM_NOLOG=1

22 years agosplit Imager::Font into base *::Type1 and *::Truetype, which should
Tony Cook [Thu, 24 May 2001 09:45:07 +0000 (09:45 +0000)]
split Imager::Font into base *::Type1 and *::Truetype, which should
simplify adding new font types (I hope)

22 years agoVersion number change for 0.38 CPAN upload
Arnar Mar Hrafnkelsson [Tue, 22 May 2001 01:42:39 +0000 (01:42 +0000)]
Version number change for 0.38 CPAN upload

22 years agoFixed so that IM_MANUAL doesn't lose the giflib version check.
Arnar Mar Hrafnkelsson [Mon, 21 May 2001 15:58:21 +0000 (15:58 +0000)]
Fixed so that IM_MANUAL doesn't lose the giflib version check.

22 years agoFixed warnings for 5.004_04.
Arnar Mar Hrafnkelsson [Sun, 20 May 2001 23:22:03 +0000 (23:22 +0000)]
Fixed warnings for 5.004_04.

22 years agoFixed // in filters.c. And things that didn't work in perl 5.004_04
Arnar Mar Hrafnkelsson [Sun, 20 May 2001 23:14:41 +0000 (23:14 +0000)]
Fixed // in filters.c.  And things that didn't work in perl 5.004_04
in the testcases.

22 years agoIf tiff format was not supported then then all tests after 4 appeared to be
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 10:18:46 +0000 (10:18 +0000)]
If tiff format was not supported then then all tests after 4 appeared to be
failing.

22 years agoRemoved bench/* from MANIFEST (but not CVS). Also moved transbench.perl
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 07:52:30 +0000 (07:52 +0000)]
Removed bench/* from MANIFEST (but not CVS).  Also moved transbench.perl
into bench subdirectory.

22 years agoAdded mng to the TOOD, and added a warning to the Makefile.PL if gif/ungif
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 07:31:57 +0000 (07:31 +0000)]
Added mng to the TOOD, and added a warning to the Makefile.PL if gif/ungif
is enabled.

22 years agoMade TODO into a seperate file and removed it from the Changes file.
Arnar Mar Hrafnkelsson [Thu, 17 May 2001 08:10:08 +0000 (08:10 +0000)]
Made TODO into a seperate file and removed it from the Changes file.
Also added i_errmsg to the image structure in design/represent.txt
since that is sort of the next generation image structure.

22 years agoAdded documentation to map method in Imager.pm and made some minor fixes
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 21:24:46 +0000 (21:24 +0000)]
Added documentation to map method in Imager.pm and made some minor fixes
to map method.

22 years agoFixes to i_map function and map method. Added a testcase for both.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 18:38:27 +0000 (18:38 +0000)]
Fixes to i_map function and map method.  Added a testcase for both.

22 years agorefer to the right test
Tony Cook [Wed, 16 May 2001 13:27:21 +0000 (13:27 +0000)]
refer to the right test

22 years agoadded tests for the tiff OO interface
Tony Cook [Wed, 16 May 2001 12:48:26 +0000 (12:48 +0000)]
added tests for the tiff OO interface
added resolution setting for faxable tiffs (uncommenting and fixing
the original code)
added documentation for setting the resolution
declared i_writetiff_wiol_faxable in image.h

22 years agoremove testout on make clean
Tony Cook [Wed, 16 May 2001 10:52:22 +0000 (10:52 +0000)]
remove testout on make clean

22 years agoSimplified interface.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 08:51:12 +0000 (08:51 +0000)]
Simplified interface.

22 years agoAdded map.c which implements mapping images through tables.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 08:43:33 +0000 (08:43 +0000)]
Added map.c which implements mapping images through tables.

22 years agoFixes to logging in iolayer.c and minor iolayer issues with tiffs in Imager.pm
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 06:44:52 +0000 (06:44 +0000)]
Fixes to logging in iolayer.c and minor iolayer issues with tiffs in Imager.pm

22 years agoFixes crop() method so it is consistent with documentation.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 04:36:32 +0000 (04:36 +0000)]
Fixes crop() method so it is consistent with documentation.

22 years agoinitially completed version, could use polishing
Tony Cook [Wed, 16 May 2001 03:07:47 +0000 (03:07 +0000)]
initially completed version, could use polishing

22 years agoUninitialized variable used in filters.c.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 02:08:02 +0000 (02:08 +0000)]
Uninitialized variable used in filters.c.

22 years agoskip tests that we've added
Tony Cook [Wed, 16 May 2001 02:07:14 +0000 (02:07 +0000)]
skip tests that we've added

22 years agoforgot to skip new tests
Tony Cook [Wed, 16 May 2001 01:58:13 +0000 (01:58 +0000)]
forgot to skip new tests

22 years agoAdded all the test images to the MANIFEST and re added Regops.pm since the
Arnar Mar Hrafnkelsson [Tue, 15 May 2001 21:02:26 +0000 (21:02 +0000)]
Added all the test images to the MANIFEST and re added Regops.pm since the
Makefile.PL hack wasn't working.

22 years agoSome tests were logging into the wrong files and t50basicoo.t was using
Arnar Mar Hrafnkelsson [Tue, 15 May 2001 12:43:14 +0000 (12:43 +0000)]
Some tests were logging into the wrong files and t50basicoo.t was using
files that the now removed t10formats.t generated.  Now it uses the files
generated by t10{1,2,3,4,5,6}*.t.

23 years agoMade Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 10:24:40 +0000 (10:24 +0000)]
Made Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists
for make test and make install.

23 years agofixes (and tests for) several problems in i_readgif_low()
Tony Cook [Mon, 14 May 2001 09:55:36 +0000 (09:55 +0000)]
fixes (and tests for) several problems in i_readgif_low()

23 years agoChanged free() to myfree() in quant.c.
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 09:33:48 +0000 (09:33 +0000)]
Changed free() to myfree() in quant.c.

23 years agowas sizeof(int *)
Tony Cook [Mon, 14 May 2001 07:32:05 +0000 (07:32 +0000)]
was sizeof(int *)

23 years agoforgot this
Tony Cook [Mon, 14 May 2001 07:28:38 +0000 (07:28 +0000)]
forgot this

23 years agohad a trailing newline
Tony Cook [Mon, 14 May 2001 07:27:52 +0000 (07:27 +0000)]
had a trailing newline

23 years agooops, shoule use myfree() instead of free()
Tony Cook [Mon, 14 May 2001 07:17:30 +0000 (07:17 +0000)]
oops, shoule use myfree() instead of free()

23 years agoRemoved a bunch of unused variables and fixed an attempt to print out a
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 05:52:53 +0000 (05:52 +0000)]
Removed a bunch of unused variables and fixed an attempt to print out a
structure pointer in error.c

23 years agoAdded more logging to quant.c. Removed global variables from gif.c.
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 03:55:39 +0000 (03:55 +0000)]
Added more logging to quant.c.  Removed global variables from gif.c.
Increased the limit of table entries when debugging malloc.

23 years agofix handling for no giflib
Tony Cook [Mon, 14 May 2001 03:24:13 +0000 (03:24 +0000)]
fix handling for no giflib

23 years agooops, missed updating the last test number
Tony Cook [Mon, 14 May 2001 03:22:58 +0000 (03:22 +0000)]
oops, missed updating the last test number

23 years agoremoved t10formats.t
Tony Cook [Mon, 14 May 2001 02:52:39 +0000 (02:52 +0000)]
removed t10formats.t

23 years agoImageNum in i_readgif_low() was a file global variable which was never
Arnar Mar Hrafnkelsson [Sun, 13 May 2001 21:22:21 +0000 (21:22 +0000)]
ImageNum in i_readgif_low() was a file global variable which was never
set to zero after usage.

23 years agoadded some tests to check how we handle variously damaged GIFs
Tony Cook [Sun, 13 May 2001 07:20:37 +0000 (07:20 +0000)]
added some tests to check how we handle variously damaged GIFs
added code to release the memory allocated for the returned colour map
correctly

23 years agoprevent undefined value warnings
Tony Cook [Sat, 12 May 2001 14:38:08 +0000 (14:38 +0000)]
prevent undefined value warnings

23 years agodid some more work on this...
Tony Cook [Sat, 12 May 2001 14:37:40 +0000 (14:37 +0000)]
did some more work on this...

23 years agoAdded checks if there is no global colormap and a local colormap to avoid
Arnar Mar Hrafnkelsson [Sat, 12 May 2001 09:41:02 +0000 (09:41 +0000)]
Added checks if there is no global colormap and a local colormap to avoid
a segfault.  Also adds a test image.

23 years agoAddi's notes on scan converting polygons with anti-aliasing
Tony Cook [Sat, 12 May 2001 04:48:34 +0000 (04:48 +0000)]
Addi's notes on scan converting polygons with anti-aliasing

23 years agohardly started discussion of internal image representations
Tony Cook [Sat, 12 May 2001 04:43:08 +0000 (04:43 +0000)]
hardly started discussion of internal image representations

23 years agoreference to design/represent.txt
Tony Cook [Thu, 10 May 2001 08:12:52 +0000 (08:12 +0000)]
reference to design/represent.txt

23 years agomake write_multi a bit simpler to use
Tony Cook [Thu, 10 May 2001 07:56:47 +0000 (07:56 +0000)]
make write_multi a bit simpler to use

23 years agothis is what the convert() method does
Tony Cook [Thu, 10 May 2001 06:55:53 +0000 (06:55 +0000)]
this is what the convert() method does

23 years agotalk about getting gif working better
Tony Cook [Thu, 10 May 2001 03:59:35 +0000 (03:59 +0000)]
talk about getting gif working better

23 years agoyes, another attempt at supporting the Netscape loop extension
Tony Cook [Thu, 10 May 2001 03:51:43 +0000 (03:51 +0000)]
yes, another attempt at supporting the Netscape loop extension
no, this one doesn't work either

23 years agooops, this is done
Tony Cook [Thu, 10 May 2001 02:50:21 +0000 (02:50 +0000)]
oops, this is done

23 years agosupport saving to pgm file
Tony Cook [Thu, 10 May 2001 02:49:30 +0000 (02:49 +0000)]
support saving to pgm file

23 years agoregression test for bug loading some images in png.c 1.1
Tony Cook [Thu, 10 May 2001 02:08:23 +0000 (02:08 +0000)]
regression test for bug loading some images in png.c 1.1

23 years agomake filenames match test number
Tony Cook [Thu, 10 May 2001 01:56:02 +0000 (01:56 +0000)]
make filenames match test number

23 years agonoted problem with libpng 1.0.1
Tony Cook [Thu, 10 May 2001 01:53:25 +0000 (01:53 +0000)]
noted problem with libpng 1.0.1

23 years agoFixed png transparency handling
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 16:54:37 +0000 (16:54 +0000)]
Fixed png transparency handling

23 years agolose the debug code
Tony Cook [Wed, 9 May 2001 05:39:18 +0000 (05:39 +0000)]
lose the debug code

23 years agoRemoved the t/t10formats.t test as all of its functionality is now in t/t10*
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 05:31:56 +0000 (05:31 +0000)]
Removed the t/t10formats.t test as all of its functionality is now in t/t10*

23 years agoFixed png stripping alpha of all images. Minor changes to png test.
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 05:15:05 +0000 (05:15 +0000)]
Fixed png stripping alpha of all images.  Minor changes to png test.

23 years agowe now have a convert() method
Tony Cook [Wed, 9 May 2001 04:01:21 +0000 (04:01 +0000)]
we now have a convert() method

23 years agoimplement the convert() method for converting between numbers of channels
Tony Cook [Wed, 9 May 2001 03:55:31 +0000 (03:55 +0000)]
implement the convert() method for converting between numbers of channels

23 years agoAdded type=>gif for write_multi docs.
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 03:23:12 +0000 (03:23 +0000)]
Added type=>gif for write_multi docs.

23 years agosee patch
Tony Cook [Tue, 8 May 2001 09:40:12 +0000 (09:40 +0000)]
see patch

23 years agoskip tests if there's no gif support
Tony Cook [Tue, 8 May 2001 09:38:54 +0000 (09:38 +0000)]
skip tests if there's no gif support

23 years agoMicksa's original faxable tiff patch
Tony Cook [Tue, 8 May 2001 06:25:35 +0000 (06:25 +0000)]
Micksa's original faxable tiff patch

23 years agoincorporated Micksa's faxable tiff support
Tony Cook [Tue, 8 May 2001 06:23:52 +0000 (06:23 +0000)]
incorporated Micksa's faxable tiff support

23 years agodocument ideas and discussion from IRC
Tony Cook [Mon, 7 May 2001 14:19:32 +0000 (14:19 +0000)]
document ideas and discussion from IRC

23 years agodiscussion from IRC of some interfaces/features
Tony Cook [Mon, 7 May 2001 14:18:12 +0000 (14:18 +0000)]
discussion from IRC of some interfaces/features

23 years agouseful for ignoring junk from builds
Tony Cook [Mon, 7 May 2001 12:27:58 +0000 (12:27 +0000)]
useful for ignoring junk from builds

23 years agochanged Imager::read() to always return an arrayref of Imager::Color
Tony Cook [Mon, 7 May 2001 12:17:20 +0000 (12:17 +0000)]
changed Imager::read() to always return an arrayref of Imager::Color
objects rather than an arrayref of arrayrefs

23 years agojust an idea...
Tony Cook [Mon, 7 May 2001 12:03:52 +0000 (12:03 +0000)]
just an idea...

23 years agonote some possible changes (which haven't been implemented)
Tony Cook [Mon, 7 May 2001 10:55:27 +0000 (10:55 +0000)]
note some possible changes (which haven't been implemented)

23 years agoadd the extra attributes that PPDs want
Tony Cook [Mon, 7 May 2001 06:27:26 +0000 (06:27 +0000)]
add the extra attributes that PPDs want

23 years agooops, forgot to free the memory I allocated
Tony Cook [Sun, 6 May 2001 07:49:52 +0000 (07:49 +0000)]
oops, forgot to free the memory I allocated

23 years agonoted row-based access to images
Tony Cook [Sun, 6 May 2001 07:47:26 +0000 (07:47 +0000)]
noted row-based access to images

23 years agoadd read/write row of pixels to image interface
Tony Cook [Sun, 6 May 2001 07:38:19 +0000 (07:38 +0000)]
add read/write row of pixels to image interface

23 years agoimplementing read/put horizontal line of pixels
Tony Cook [Sun, 6 May 2001 07:36:59 +0000 (07:36 +0000)]
implementing read/put horizontal line of pixels

23 years agosimple benchmark for image copying
Tony Cook [Sun, 6 May 2001 07:33:15 +0000 (07:33 +0000)]
simple benchmark for image copying

23 years agofixes to quant.c and a minor enhancement
Tony Cook [Sun, 6 May 2001 04:27:52 +0000 (04:27 +0000)]
fixes to quant.c and a minor enhancement

23 years agofixed a really stupid bug I introduced to Addi's colormap builder when
Tony Cook [Sun, 6 May 2001 04:22:02 +0000 (04:22 +0000)]
fixed a really stupid bug I introduced to Addi's colormap builder when
I tried to make it work for more than one image

also, the palette builder only copies across those palette entries it
needs

23 years agohashboxes work now
Tony Cook [Sun, 6 May 2001 02:17:45 +0000 (02:17 +0000)]
hashboxes work now

23 years agominor fix to code layout changes
Tony Cook [Sun, 6 May 2001 01:48:33 +0000 (01:48 +0000)]
minor fix to code layout changes

23 years agoadded tests to make sure the correct palette was coming back from
Tony Cook [Sat, 5 May 2001 14:42:45 +0000 (14:42 +0000)]
added tests to make sure the correct palette was coming back from
Imager::read

23 years agoImager::read() can now retrieve the palette optionally returned by
Tony Cook [Sat, 5 May 2001 14:40:23 +0000 (14:40 +0000)]
Imager::read() can now retrieve the palette optionally returned by
i_readgif(_scalar).

23 years agoadded note about getting the palette for Imager::read()
Tony Cook [Sat, 5 May 2001 14:31:00 +0000 (14:31 +0000)]
added note about getting the palette for Imager::read()

23 years agosimple image used for testing palette retrieval by Imager::read()
Tony Cook [Sat, 5 May 2001 14:08:22 +0000 (14:08 +0000)]
simple image used for testing palette retrieval by Imager::read()

23 years agoJust code layout changes and logging.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 18:28:10 +0000 (18:28 +0000)]
Just code layout changes and logging.

23 years agoFixed bug reporting, updated Changes.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 16:57:37 +0000 (16:57 +0000)]
Fixed bug reporting, updated Changes.

23 years agoFixed an overflow bug in png.c where reading images with a palette or
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 16:46:04 +0000 (16:46 +0000)]
Fixed an overflow bug in png.c where reading images with a palette or
fewer than 8 bits per sample but no alpha channel would cause a segfault
since libpng would expand the image with alpha channel while no space
was allocated for an alpha channel.

23 years agoAdded a testcase for copy() and flip() methods, fixed a bug in i_flipxy()
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 15:21:38 +0000 (15:21 +0000)]
Added a testcase for copy() and flip() methods, fixed a bug in i_flipxy()
when flipping both horizontally and vertically.  Removed lib/Imager/Regops.pm
as it is autogenerated when make install is run.

23 years agodocument the 'fd' option for $img->(read|write)
Tony Cook [Fri, 4 May 2001 13:57:11 +0000 (13:57 +0000)]
document the 'fd' option for $img->(read|write)