]> git.imager.perl.org - imager.git/commitdiff
Moved last bits out docs of Imager.pm.
authorArnar Mar Hrafnkelsson <addi@cpan.org>
Wed, 16 Jan 2002 06:47:30 +0000 (06:47 +0000)
committerArnar Mar Hrafnkelsson <addi@cpan.org>
Wed, 16 Jan 2002 06:47:30 +0000 (06:47 +0000)
Imager.pm
lib/Imager/Draw.pod
lib/Imager/Files.pod
lib/Imager/ImageTypes.pod

index 53ac38969b5d6c893c1a254f485e6158fc521e74..fc1b3aa67a11dd3718ee437cf1bd8574ea6579da 100644 (file)
--- a/Imager.pm
+++ b/Imager.pm
@@ -2475,54 +2475,16 @@ This example creates a completely black image of width 400 and
 height 300 and 4 channels.
 
 
-
-
-
-
-When writing to a tiff image file you can also specify the 'class'
-parameter, which can currently take a single value, "fax".  If class
-is set to fax then a tiff image which should be suitable for faxing
-will be written.  For the best results start with a grayscale image.
-By default the image is written at fine resolution you can override
-this by setting the "fax_fine" parameter to 0.
-
-If you are reading from a gif image file, you can supply a 'colors'
-parameter which must be a reference to a scalar.  The referenced
-scalar will receive an array reference which contains the colors, each
-represented as an Imager::Color object.
-
-If you already have an open file handle, for example a socket or a
-pipe, you can specify the 'fd' parameter instead of supplying a
-filename.  Please be aware that you need to use fileno() to retrieve
-the file descriptor for the file:
-
-  $img->read(fd=>fileno(FILE), type=>'gif') or die $img->errstr;
-
-For writing using the 'fd' option you will probably want to set $| for
-that descriptor, since the writes to the file descriptor bypass Perl's
-(or the C libraries) buffering.  Setting $| should avoid out of order
-output.  For example a common idiom when writing a CGI script is:
-
-  # the $| _must_ come before you send the content-type
-  $| = 1;
-  print "Content-Type: image/jpeg\n\n";
-  $img->write(fd=>fileno(STDOUT), type=>'jpeg') or die $img->errstr;
-
-
-
 =head1 BUGS
 
-box, arc, do not support antialiasing yet.  Arc, is only filled as of
-yet.
-
 When saving Gif images the program does NOT try to shave of extra
 colors if it is possible.  If you specify 128 colors and there are
 only 2 colors used - it will have a 128 colortable anyway.
 
 =head1 AUTHOR
 
-Arnar M. Hrafnkelsson, addi@umich.edu, and recently lots of assistance
-from Tony Cook.  See the README for a complete list.
+Arnar M. Hrafnkelsson (addi@umich.edu) and Tony Cook (XXX) See the
+README for a complete list.
 
 =head1 SEE ALSO
 
index b0f57ea8388ab0a0ce4e4d26144414ac6241b337..60afb6240013a94de88ac5f936b57f2c47464f65 100644 (file)
@@ -154,4 +154,9 @@ flood_fill() method, for example:
 will fill all regions the same color connected to the point (50, 50).
 
 
+=head1 BUGS
+
+box, arc, do not support antialiasing yet.  Arc, is only filled as of
+yet.  Default color is not unified yet.
+
 =back
index 5392e922f26d436d4d94172d3f111714292fb956..88067f3dac1e2759592376f7d27c828cc1502f8b 100644 (file)
@@ -532,4 +532,12 @@ writing an animated gif
 
 reading tags after reading an image
 
+
+=head1 BUGS
+
+When saving Gif images the program does NOT try to shave of extra
+colors if it is possible.  If you specify 128 colors and there are
+only 2 colors used - it will have a 128 colortable anyway.
+
+
 =cut
index 44190d148604fc2f5ad87c01b3f1f19c0ea11e2c..1d95db413047b395711832ef0e47d3ebcfa3e959 100644 (file)
@@ -656,4 +656,5 @@ color table.
 
 =back
 
+
 =cut
\ No newline at end of file