--- #YAML:1.0
name: Imager
-version: 0.59
+version: 0.60
version_from: Imager.pm
author: Tony Cook <tony@imager.perl.org>, Arnar M. Hrafnkelsson
abstract: Perl extension for Generating 24 bit Images
meta-spec:
version: 1.3
url: http://module-build.sourceforge.net/META-spec-v1.3.html
-generated_by: Imager version 0.59
+generated_by: Imager version 0.60
brown-bag bugs may add intermediate releases. The dates are goals,
not commitments.
+For 0.61:
+
+TIFF improvements (to be detailed) (#20329)
+
+regmach.c fixes/tests (#29296)
+
+sample: scaling an animated gif (#27591)
+
+transform2() docs (#29267)
+
+read DIBS (#29055)
+
+library search path on 64-bit centos (#29045)
+
+i_gsamp() chan_count validation (#28985)
+
For 0.60 (hopefully):
RGB file support (#8666) (done)
i_color color;
color.rgba.red = 255; color.rgba.green = 0; color.rgba.blue = 255;
- i_fill_t *fill = i_new_fill_...(...);
EOS
print OUT <<'EOS';
- i_fill_destroy(fill);
-
=head1 DESCRIPTION
EOS
=item i_fill_destroy(fill)
=category Fills
+=synopsis i_fill_destroy(fill);
Call to destroy any fill object.
=item i_new_fill_solidf(color, combine)
=category Fills
+=synopsis i_fill_t *fill = i_new_fill_solidf(&fcolor, combine);
Create a solid fill based on a float color.
=item i_new_fill_solid(color, combine)
=category Fills
+=synopsis i_fill_t *fill = i_new_fill_solid(&color, combine);
Create a solid fill based on an 8-bit color.
=item i_new_fill_hatch(fg, bg, combine, hatch, cust_hatch, dx, dy)
=category Fills
+=synopsis i_fill_t *fill = i_new_fill_hatch(&fg_color, &bg_color, combine, hatch, custom_hatch, dx, dy);
Creates a new hatched fill with the fg color used for the 1 bits in
the hatch and bg for the 0 bits. If combine is non-zero alpha values
=item i_new_fill_hatchf(fg, bg, combine, hatch, cust_hatch, dx, dy)
=category Fills
+=synopsis i_fill_t *fill = i_new_fill_hatchf(&fg_fcolor, &bg_fcolor, combine, hatch, custom_hatch, dx, dy);
Creates a new hatched fill with the fg color used for the 1 bits in
the hatch and bg for the 0 bits. If combine is non-zero alpha values
=item i_new_fill_image(im, matrix, xoff, yoff, combine)
=category Fills
+=synopsis i_fill_t *fill = i_new_fill_image(src_img, matrix, x_offset, y_offset, combine);
Create an image based fill.
=item i_img_8_new(x, y, ch)
-=category Image creation
+=category Image creation/destruction
+
+=synopsis i_img *img = i_img_8_new(width, height, channels);
Creates a new image object I<x> pixels wide, and I<y> pixels high with
I<ch> channels.
}
/*
-=item i_img_destroy(im)
-
-=category Image
+=item i_img_destroy(img)
-Destroy image and free data via exorcise.
+=category Image creation/destruction
+=synopsis i_img_destroy(img)
- im - Image pointer
+Destroy an image object
=cut
*/
/*
=item i_sametype(i_img *im, int xsize, int ysize)
-=category Image creation
+=category Image creation/destruction
+=synopsis i_img *img = i_sametype(src, width, height);
Returns an image of the same type (sample size, channels, paletted/direct).
/*
=item i_sametype_chans(i_img *im, int xsize, int ysize, int channels)
-=category Image creation
+=category Image creation/destruction
+=synopsis i_img *img = i_sametype_chans(src, width, height, channels);
Returns an image of the same type (sample size).
/*
=item i_img_16_new(x, y, ch)
-=category Image creation
+=category Image creation/destruction
+=synopsis i_img *img = i_img_16_new(width, height, channels);
Create a new 16-bit/sample image.
/*
=item i_img_double_new(int x, int y, int ch)
-=category Image creation
+=category Image creation/destruction
+=synopsis i_img *img = i_img_double_new(width, height, channels);
Creates a new double per sample image.
i_color color;
color.rgba.red = 255; color.rgba.green = 0; color.rgba.blue = 255;
- i_fill_t *fill = i_new_fill_...(...);
# Drawing
i_set_image_file_limits(500, 500, 1000000);
# Fills
+ i_fill_destroy(fill);
fill = i_new_fill_fount(0, 0, 100, 100, i_ft_linear, i_ft_linear,
i_fr_triangle, 0, i_fts_grid, 9, 1, segs);
+ i_fill_t *fill = i_new_fill_hatch(&fg_color, &bg_color, combine, hatch, custom_hatch, dx, dy);
+ i_fill_t *fill = i_new_fill_hatchf(&fg_fcolor, &bg_fcolor, combine, hatch, custom_hatch, dx, dy);
+ i_fill_t *fill = i_new_fill_image(src_img, matrix, x_offset, y_offset, combine);
+ i_fill_t *fill = i_new_fill_solid(&color, combine);
+ i_fill_t *fill = i_new_fill_solidf(&fcolor, combine);
# Image
- # Image creation
+ # Image creation/destruction
+ i_img *img = i_img_16_new(width, height, channels);
+ i_img *img = i_img_8_new(width, height, channels);
+ i_img_destroy(img)
+ i_img *img = i_img_double_new(width, height, channels);
+ i_img *img = i_img_pal_new(width, height, channels, max_palette_size)
+ i_img *img = i_sametype(src, width, height);
+ i_img *img = i_sametype_chans(src, width, height, channels);
# Image quantization
# Tags
- i_fill_destroy(fill);
-
=head1 DESCRIPTION
=head2 Drawing
pass NULL in trans for non transparent i_colors.
-=for comment
-From: File image.c
-
-=item i_img_destroy(im)
-
-
-Destroy image and free data via exorcise.
-
- im - Image pointer
-
-
=for comment
From: File image.c
=back
-=head2 Image creation
+=head2 Image creation/destruction
=over
=item i_img_8_new(x, y, ch)
+
Creates a new image object I<x> pixels wide, and I<y> pixels high with
I<ch> channels.
+=for comment
+From: File image.c
+
+=item i_img_destroy(img)
+
+
+Destroy an image object
+
+
=for comment
From: File image.c
Creates a new paletted image of the supplied dimensions.
+I<maxpal> is the maximum palette size and should normally be 256.
+
Returns a new image or NULL on failure.
/*
=item i_img_pal_new(x, y, channels, maxpal)
-=category Image creation
+=category Image creation/destruction
+=synopsis i_img *img = i_img_pal_new(width, height, channels, max_palette_size)
Creates a new paletted image of the supplied dimensions.
+I<maxpal> is the maximum palette size and should normally be 256.
+
Returns a new image or NULL on failure.
=cut