]> git.imager.perl.org - imager.git/commitdiff
make the jpegquality docs clearer
authorTony Cook <tony@develop-help.com>
Tue, 10 May 2016 00:44:44 +0000 (10:44 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 10 May 2016 00:44:44 +0000 (10:44 +1000)
lib/Imager/Files.pod

index 7b9a0c8ab59c050f0ec9ad616bb4cf3aa70734f9..0c3c16d289697fd93f5e9ff2c3c7882d3a671ae5 100644 (file)
@@ -598,15 +598,16 @@ image when this tag is non-zero.
 
 =head2 JPEG
 
-=for stopwords composited
-
-You can supply a C<jpegquality> parameter (0-100) when writing a JPEG
-file, which defaults to 75%.  If you write an image with an alpha
-channel to a JPEG file then it will be composited against the
-background set by the C<i_background> parameter (or tag).
+You can supply a C<jpegquality> parameter ranging from 0 (worst
+quality) to 100 (best quality) when writing a JPEG file, which
+defaults to 75.
 
   $img->write(file=>'foo.jpg', jpegquality=>90) or die $img->errstr;
 
+If you write an image with an alpha channel to a JPEG file then it
+will be composed against the background set by the C<i_background>
+parameter (or tag), or black if not supplied.
+
 Imager will read a gray scale JPEG as a 1 channel image and a color
 JPEG as a 3 channel image.