From: Tony Cook Date: Sat, 21 Mar 2020 01:04:57 +0000 (+1100) Subject: C<> filter keywords to avoid trying to spellcheck them X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/fd60d5c6186a8882f515baaedae4edc9f5bcf01c?ds=sidebyside C<> filter keywords to avoid trying to spellcheck them Pod::Spell (or something in the pipeline) appeared to be passing the "guassian2" through with the "2" stripped despite the stopword. --- diff --git a/Imager.pm b/Imager.pm index e5edb916..84e0ab33 100644 --- a/Imager.pm +++ b/Imager.pm @@ -5033,7 +5033,7 @@ L. blend - alpha blending one image onto another L -blur - L, L +blur - L<< Imager::Filters/C >>, L<< Imager::Filters/C >> boxes, drawing - L @@ -5049,9 +5049,9 @@ combine modes - L compare images - L -contrast - L, L +contrast - L<< Imager::Filters/C >>, L<< Imager::Filters/C >> -convolution - L +convolution - L<< Imager::Filters/C >> cropping - L @@ -5092,27 +5092,27 @@ fonts, metrics - L, L fonts, multiple master - L fountain fill - L, -L, L, -L +L<< Imager::Filters/C >>, L, +L<< Imager::Filters/C >> GIF files - L GIF files, animated - L gradient fill - L, -L, L, -L +L<< Imager::Filters/C >>, L, +L<< Imager::Filters/C >> gray scale, convert image to - L -gaussian blur - L +gaussian blur - L<< Imager::Filters/C >>, L<< Imager::Filters/C >> hatch fills - L ICO files - L -invert image - L, -L +invert image - L<< Imager::Filters/C >>, +L<< Imager::Filters/C >> JPEG - L @@ -5126,12 +5126,12 @@ L metadata, image - L, L -mosaic - L +mosaic - L<< Imager::Filters/C >> -noise, filter - L +noise, filter - L<< Imager::Filters/C >> -noise, rendered - L, -L +noise, rendered - L<< Imager::Filters/C >>, +L<< Imager::Filters/C >> paste - L, L @@ -5141,7 +5141,7 @@ L =for stopwords posterize -posterize - L +posterize - L<< Imager::Filters/C >> PNG files - L, L @@ -5162,7 +5162,7 @@ security - L SGI files - L -sharpen - L, L +sharpen - L<< Imager::Filters/C >>, L<< Imager::Filters/C >> size, image - L, L @@ -5180,16 +5180,16 @@ text, measuring - L, L threads - L -tiles, color - L +tiles, color - L<< Imager::Filters/C >> transparent images - L, L =for stopwords unsharp -unsharp mask - L +unsharp mask - L<< Imager::Filters/C >> -watermark - L +watermark - L<< Imager::Filters/C >> writing an image to a file - L diff --git a/lib/Imager/Filters.pod b/lib/Imager/Filters.pod index d308e482..f80d79b1 100644 --- a/lib/Imager/Filters.pod +++ b/lib/Imager/Filters.pod @@ -152,7 +152,7 @@ A reference of the filters follows: =over -=item autolevels +=item C Scales the luminosity of the image so that the luminosity will cover the possible range for the image. C and C truncate the @@ -166,7 +166,7 @@ respectively. The method used here is typically called L. -=item autolevels_skew +=item C Scales the value of each channel so that the values in the image will cover the whole possible range for the channel. C and C @@ -184,7 +184,7 @@ the range respectively. This filter was the original C filter, but it's typically useless due to the significant color skew it can produce. -=item bumpmap +=item C uses the channel C image C as a bump map on your image, with the light at (C, C), with a shadow length @@ -194,7 +194,7 @@ of C. lightx=>10, lighty=>10, st=>5) or die $img->errstr; -=item bumpmap_complex +=item C uses the channel C image C as a bump map on your image. If C<< Lz < 0 >> the three L parameters are considered to be the @@ -207,7 +207,7 @@ coefficient. C is the shininess of the surface. $img->filter(type=>"bumpmap_complex", bump=>$bumpmap_img) or die $img->errstr; -=item contrast +=item C scales each channel by C. Values of C < 1.0 will reduce the contrast. @@ -220,7 +220,7 @@ will reduce the contrast. $img->filter(type=>"contrast", intensity=>0.8) or die $img->errstr; -=item conv +=item C performs 2 1-dimensional convolutions on the image using the values from C. C should be have an odd length and the sum of the @@ -238,7 +238,7 @@ coefficients must be non-zero. $img->filter(type=>"conv", coef=>[ -0.5, 1, -0.5 ]) or die $img->errstr; -=item fountain +=item C renders a fountain fill, similar to the gradient tool in most paint software. The default fill is a linear fill from opaque black to @@ -329,21 +329,21 @@ The possible values for the super_sample option are: =over -=item none +=item C no super-sampling is done -=item grid +=item C a square grid of points are sampled. The number of points sampled is the square of ceil(0.5 + sqrt(ssample_param)). -=item random +=item C a random set of points within the pixel are sampled. This looks pretty bad for low ssample_param values. -=item circle +=item C the points on the radius of a circle within the pixel are sampled. This seems to produce the best results, but is fairly slow (for now). @@ -360,25 +360,25 @@ segment is an array ref containing: =over -=item start +=item C a floating point number between 0 and 1, the start of the range of fill parameters covered by this segment. -=item middle +=item C a floating point number between start and end which can be used to push the color range towards one end of the segment. -=item end +=item C a floating point number between 0 and 1, the end of the range of fill parameters covered by this segment. This should be greater than start. -=item c0 +=item C -=item c1 +=item C The colors at each end of the segment. These can be either Imager::Color or Imager::Color::Float objects. @@ -440,7 +440,7 @@ Really. It even loads GIMP gradient files. =for stopwords Gaussian -=item gaussian +=item C performs a Gaussian blur of the image, using C as the standard deviation of the curve used to combine pixels, larger values give @@ -459,7 +459,7 @@ values around 5 provide a very strong blur. $img->filter(type=>"gaussian", stddev=>5) or die $img->errstr; -=item gaussian2 +=item C performs a Gaussian blur of the image, using C, C as the standard deviation of the curve used to combine pixels on the X and Y axis, @@ -479,7 +479,7 @@ values around 5 provide a very strong blur. $img->filter(type=>"gaussian", stddevX=>0, stddevY=>5 ) or die $img->errstr; -=item gradgen +=item C renders a gradient, with the given I at the corresponding points (x,y) in C and C. You can specify the way distance is @@ -491,7 +491,7 @@ for Euclidean squared, and 2 for Manhattan distance. yo=>[ 10, 50, 50 ], colors=>[ qw(red blue green) ]); -=item hardinvert +=item C XX inverts the image, black to white, white to black. All color channels @@ -500,7 +500,7 @@ are inverted, excluding the alpha channel if any. $img->filter(type=>"hardinvert") or die $img->errstr; -=item hardinvertall +=item C XX inverts the image, black to white, white to black. All channels are @@ -509,14 +509,14 @@ inverted, including the alpha channel if any. $img->filter(type=>"hardinvertall") or die $img->errstr; -=item mosaic +=item C produces averaged tiles of the given C. $img->filter(type=>"mosaic", size=>5) or die $img->errstr; -=item noise +=item C adds noise of the given C to the image. If C is zero, the noise is even to each channel, otherwise noise is added to @@ -532,7 +532,7 @@ each channel independently. =for stopwords Perlin -=item radnoise +=item C renders radiant Perlin turbulent noise. The center of the noise is at (C, C), C controls the angular scale of the noise , @@ -542,7 +542,7 @@ and C the radial scale, higher numbers give more detail. ascale=>1, rscale=>0.02) or die $img->errstr; -=item postlevels +=item C alters the image to have only C distinct level in each channel. @@ -550,7 +550,7 @@ channel. $img->filter(type=>"postlevels", levels=>10) or die $img->errstr; -=item turbnoise +=item C renders Perlin turbulent noise. (C, C) controls the origin of the noise, and C the scale of the noise, with lower numbers @@ -561,7 +561,7 @@ giving more detail. =for stopwords unsharp -=item unsharpmask +=item C performs an unsharp mask on the image. This increases the contrast of edges in the image. @@ -598,7 +598,7 @@ to I in the GIMP's unsharp mask filter. Default: 1.0. =back -=item watermark +=item C applies C as a watermark on the image with strength C, with an origin at (C, C)