1GD(3)                 User Contributed Perl Documentation                GD(3)
2
3
4

NAME

6       PDL::IO::GD - Interface to the GD image library.
7

SYNOPSIS

9        my $pdl = sequence(byte, 30, 30);
10        write_png($pdl, load_lut($lutfile), "test.png");
11
12        write_true_png(sequence(100, 100, 3), "test_true.png");
13
14        my $image = read_png("test.png");
15
16        my $image = read_true_png("test_true_read.png");
17        write_true_png($image, "test_true_read.out.png");
18
19        my $lut = read_png_lut("test.png");
20
21        $pdl = sequence(byte, 30, 30);
22        write_png_ex($pdl, load_lut($lutfile), "test_nocomp.png", 0);
23        write_png_ex($pdl, load_lut($lutfile), "test_bestcomp1.png", 9);
24        write_png_best($pdl, load_lut($lutfile), "test_bestcomp2.png");
25
26        $pdl = sequence(100, 100, 3);
27        write_true_png_ex($pdl, "test_true_nocomp.png", 0);
28        write_true_png_ex($pdl, "test_true_bestcomp1.png", 9);
29        write_true_png_best($pdl, "test_true_bestcomp2.png");
30
31        recompress_png_best("test_recomp_best.png");
32

DESCRIPTION

34       This is the "General Interface" for the PDL::IO::GD library, and is
35       actually several years old at this point (read: stable). If you're
36       feeling frisky, try the new OO interface described below.
37
38       The general version just provides several image IO utility functions
39       you can use with ndarray variables. It's deceptively useful, however.
40

FUNCTIONS

42   write_png
43         Signature: (byte img(x,y); byte lut(i,j); char* filename)
44
45       Writes a 2-d PDL variable out to a PNG file, using the supplied color
46       look-up-table ndarray (hereafter referred to as a LUT).
47
48       The LUT contains a line for each value 0-255 with a corresponding R, G,
49       and B value.
50
51       write_png does not process bad values.  It will set the bad-value flag
52       of all output ndarrays if the flag is set for any of the input
53       ndarrays.
54
55   write_png_ex
56         Signature: (img(x,y); lut(i,j); char* filename; int level)
57
58       Same as write_png(), except you can specify the compression level (0-9)
59       as the last argument.
60
61       write_png_ex does not process bad values.  It will set the bad-value
62       flag of all output ndarrays if the flag is set for any of the input
63       ndarrays.
64
65   write_true_png
66         Signature: (img(x,y,z); char* filename)
67
68       Writes an (x, y, z(3)) PDL variable out to a PNG file, using a true
69       color format.
70
71       This means a larger file on disk, but can contain more than 256 colors.
72
73       write_true_png does not process bad values.  It will set the bad-value
74       flag of all output ndarrays if the flag is set for any of the input
75       ndarrays.
76
77   write_true_png_ex
78         Signature: (img(x,y,z); char* filename; int level)
79
80       Same as write_true_png(), except you can specify the compression level
81       (0-9) as the last argument.
82
83       write_true_png_ex does not process bad values.  It will set the bad-
84       value flag of all output ndarrays if the flag is set for any of the
85       input ndarrays.
86
87   write_png_best
88       Like write_png(), but it assumes the best PNG compression (9).
89
90         write_png_best( $img(ndarray), $lut(ndarray), $filename )
91
92   write_true_png_best
93       Like write_true_png(), but it assumes the best PNG compression (9).
94
95         write_true_png_best( $img(ndarray), $filename )
96
97   load_lut( $filename )
98       Loads a color look up table from an ASCII file. returns an ndarray
99
100   read_png( $filename )
101       Reads a (palette) PNG image into a (new) PDL variable.
102
103   read_png_true( $filename )
104       Reads a true color PNG image into a (new) PDL variable.
105
106   read_png_lut( $filename )
107       Reads a color LUT from an already-existing palette PNG file.
108

OO INTERFACE

110       Object Oriented interface to the GD image library.
111

SYNOPSIS

113        # Open an existing file:
114        #
115        my $gd = PDL::IO::GD->new( { filename => "test.png" } );
116
117        # Query the x and y sizes:
118        my $x = $gd->SX();
119        my $y = $gd->SY();
120
121        # Grab the PDL of the data:
122        my $pdl = $gd->to_pdl();
123
124        # Kill this thing:
125        $gd->DESTROY();
126
127        # Create a new object:
128        #
129        my $im = PDL::IO::GD->new( { x => 300, y => 300 } );
130
131        # Allocate some colors:
132        #
133        my $black = $im->ColorAllocate( 0, 0, 0 );
134        my $red = $im->ColorAllocate( 255, 0, 0 );
135        my $green = $im->ColorAllocate( 0, 255, 0 );
136        my $blue = $im->ColorAllocate( 0, 0, 255 );
137
138        # Draw a rectangle:
139        $im->Rectangle( 10, 10, 290, 290, $red );
140
141        # Add some text:
142        $im->String( gdFontGetLarge(), 20, 20, "Test Large Font!", $green );
143
144        # Write the output file:
145        $im->write_Png( "test2.png" );
146

DESCRIPTION

148       This is the Object-Oriented interface from PDL to the GD image library.
149
150       See <http://www.boutell.com/gd/> for more information on the GD library
151       and how it works.
152
153   IMPLEMENTATION NOTES
154       Surprisingly enough, this interface has nothing to do with the other
155       Perl->GD interface module, aka 'GD' (as in 'use GD;'). This is done
156       from scratch over the years.
157
158       Requires at least version 2.0.22 of the GD library, but it's only been
159       thoroughly tested with gd-2.0.33, so it would be best to use that. The
160       2.0.22 requirement has to do with a change in GD's font handling
161       functions, so if you don't use those, then don't worry about it.
162
163       I should also add, the statement about "thoroughly tested" above is
164       mostly a joke. This OO interface is very young, and it has barely been
165       tested at all, so if something breaks, email me and I'll get it fixed
166       ASAP (for me).
167
168       Functions that manipulate and query the image objects generally have a
169       'gdImage' prefix on the function names (ex: gdImageString()). I've
170       created aliases here for all of those member functions so you don't
171       have to keep typing 'gdImage' in your code, but the long version are in
172       there as well.
173

METHODS

175   new
176       Creates a new PDL::IO::GD object.
177
178       Accepts a hash describing how to create the object. Accepts a single
179       hash ( with curly braces ), an inline hash (the same, but without the
180       braces) or a single string interpreted as a filename. Thus the
181       following are all equivalent:
182
183        PDL::IO::GD->new( {filename => 'image.png'} );
184        PDL::IO::GD->new( filename => 'image.png' );
185        PDL::IO::GD->new( 'image.png' );
186
187       If the hash has:
188
189        pdl => $pdl_var (lut => $lut_ndarray)
190           Then a new GD is created from that PDL variable.
191
192        filename => $file
193           Then a new GD is created from the image file.
194
195        x => $num, y => $num
196           Then a new GD is created as a palette image, with size x, y
197
198        x => $num, y => $num, true_color => 1
199           Then a new GD is created as a true color image, with size x, y
200
201        data => $scalar (type => $typename)
202           Then a new GD is created from the file data stored in $scalar.
203           If no type is given, then it will try to guess the type of the data, but
204               this will not work for WBMP and gd image types. For those types, you
205               _must_ specify the type of the data, or the operation will fail.
206           Valid types are: 'jpg', 'png', 'gif', 'gd', 'gd2', 'wbmp'.
207
208       Example:
209
210        my $gd = PDL::IO::GD->new({ pdl => $pdl_var });
211
212        my $gd = PDL::IO::GD->new({ pdl => $pdl_var, lut => $lut_ndarray });
213
214        my $gd = PDL::IO::GD->new({ filename => "image.png" });
215
216        my $gd = PDL::IO::GD->new({ x => 100, y => 100 });
217
218        my $gd = PDL::IO::GD->new({ x => 100, y => 100, true_color => 1 });
219
220        my $gd = PDL::IO::GD->new({ data => $imageData });
221
222        my $gd = PDL::IO::GD->new({ data => $imageData, type => 'wbmp' });
223
224   to_pdl
225       When you're done playing with your GDImage and want an ndarray back,
226       use this function to return one.
227
228   apply_lut( $lut(ndarray) )
229       Does a $im->ColorAllocate() for and entire LUT ndarray at once.
230
231       The LUT ndarray format is the same as for the general interface above.
232
233   WARNING:
234       All of the docs below this point are auto-generated (not to mention the
235       actual code), so read with a grain of salt, and always check the main
236       GD documentation about how that function works and what it does.
237
238   write_Png
239       $image->write_Png( $filename )
240
241   write_PngEx
242       $image->write_PngEx( $filename, $level )
243
244   write_WBMP
245       $image->write_WBMP( $fg, $filename )
246
247   write_Jpeg
248       $image->write_Jpeg( $filename, $quality )
249
250   write_Gd
251       $image->write_Gd( $filename )
252
253   write_Gd2
254       $image->write_Gd2( $filename, $cs, $fmt )
255
256   write_Gif
257       $image->write_Gif( $filename )
258
259   get_Png_data
260       $image->get_Png_data(  )
261
262   get_PngEx_data
263       $image->get_PngEx_data( $level )
264
265   get_WBMP_data
266       $image->get_WBMP_data( $fg )
267
268   get_Jpeg_data
269       $image->get_Jpeg_data( $quality )
270
271   get_Gd_data
272       $image->get_Gd_data(  )
273
274   get_Gd2_data
275       $image->get_Gd2_data( $cs, $fmt )
276
277   SetPixel
278       $image->SetPixel( $x, $y, $color )
279
280       Alias for gdImageSetPixel.
281
282   gdImageSetPixel
283       $image->gdImageSetPixel( $x, $y, $color )
284
285   GetPixel
286       $image->GetPixel( $x, $y )
287
288       Alias for gdImageGetPixel.
289
290   gdImageGetPixel
291       $image->gdImageGetPixel( $x, $y )
292
293   AABlend
294       $image->AABlend(  )
295
296       Alias for gdImageAABlend.
297
298   gdImageAABlend
299       $image->gdImageAABlend(  )
300
301   Line
302       $image->Line( $x1, $y1, $x2, $y2, $color )
303
304       Alias for gdImageLine.
305
306   gdImageLine
307       $image->gdImageLine( $x1, $y1, $x2, $y2, $color )
308
309   DashedLine
310       $image->DashedLine( $x1, $y1, $x2, $y2, $color )
311
312       Alias for gdImageDashedLine.
313
314   gdImageDashedLine
315       $image->gdImageDashedLine( $x1, $y1, $x2, $y2, $color )
316
317   Rectangle
318       $image->Rectangle( $x1, $y1, $x2, $y2, $color )
319
320       Alias for gdImageRectangle.
321
322   gdImageRectangle
323       $image->gdImageRectangle( $x1, $y1, $x2, $y2, $color )
324
325   FilledRectangle
326       $image->FilledRectangle( $x1, $y1, $x2, $y2, $color )
327
328       Alias for gdImageFilledRectangle.
329
330   gdImageFilledRectangle
331       $image->gdImageFilledRectangle( $x1, $y1, $x2, $y2, $color )
332
333   SetClip
334       $image->SetClip( $x1, $y1, $x2, $y2 )
335
336       Alias for gdImageSetClip.
337
338   gdImageSetClip
339       $image->gdImageSetClip( $x1, $y1, $x2, $y2 )
340
341   GetClip
342       $image->GetClip( $x1P, $y1P, $x2P, $y2P )
343
344       Alias for gdImageGetClip.
345
346   gdImageGetClip
347       $image->gdImageGetClip( $x1P, $y1P, $x2P, $y2P )
348
349   BoundsSafe
350       $image->BoundsSafe( $x, $y )
351
352       Alias for gdImageBoundsSafe.
353
354   gdImageBoundsSafe
355       $image->gdImageBoundsSafe( $x, $y )
356
357   Char
358       $image->Char( $f, $x, $y, $c, $color )
359
360       Alias for gdImageChar.
361
362   gdImageChar
363       $image->gdImageChar( $f, $x, $y, $c, $color )
364
365   CharUp
366       $image->CharUp( $f, $x, $y, $c, $color )
367
368       Alias for gdImageCharUp.
369
370   gdImageCharUp
371       $image->gdImageCharUp( $f, $x, $y, $c, $color )
372
373   String
374       $image->String( $f, $x, $y, $s, $color )
375
376       Alias for gdImageString.
377
378   gdImageString
379       $image->gdImageString( $f, $x, $y, $s, $color )
380
381   StringUp
382       $image->StringUp( $f, $x, $y, $s, $color )
383
384       Alias for gdImageStringUp.
385
386   gdImageStringUp
387       $image->gdImageStringUp( $f, $x, $y, $s, $color )
388
389   String16
390       $image->String16( $f, $x, $y, $s, $color )
391
392       Alias for gdImageString16.
393
394   gdImageString16
395       $image->gdImageString16( $f, $x, $y, $s, $color )
396
397   StringUp16
398       $image->StringUp16( $f, $x, $y, $s, $color )
399
400       Alias for gdImageStringUp16.
401
402   gdImageStringUp16
403       $image->gdImageStringUp16( $f, $x, $y, $s, $color )
404
405   Polygon
406       $image->Polygon( $p, $n, $c )
407
408       Alias for gdImagePolygon.
409
410   gdImagePolygon
411       $image->gdImagePolygon( $p, $n, $c )
412
413   FilledPolygon
414       $image->FilledPolygon( $p, $n, $c )
415
416       Alias for gdImageFilledPolygon.
417
418   gdImageFilledPolygon
419       $image->gdImageFilledPolygon( $p, $n, $c )
420
421   ColorAllocate
422       $image->ColorAllocate( $r, $g, $b )
423
424       Alias for gdImageColorAllocate.
425
426   gdImageColorAllocate
427       $image->gdImageColorAllocate( $r, $g, $b )
428
429   ColorAllocateAlpha
430       $image->ColorAllocateAlpha( $r, $g, $b, $a )
431
432       Alias for gdImageColorAllocateAlpha.
433
434   gdImageColorAllocateAlpha
435       $image->gdImageColorAllocateAlpha( $r, $g, $b, $a )
436
437   ColorClosest
438       $image->ColorClosest( $r, $g, $b )
439
440       Alias for gdImageColorClosest.
441
442   gdImageColorClosest
443       $image->gdImageColorClosest( $r, $g, $b )
444
445   ColorClosestAlpha
446       $image->ColorClosestAlpha( $r, $g, $b, $a )
447
448       Alias for gdImageColorClosestAlpha.
449
450   gdImageColorClosestAlpha
451       $image->gdImageColorClosestAlpha( $r, $g, $b, $a )
452
453   ColorClosestHWB
454       $image->ColorClosestHWB( $r, $g, $b )
455
456       Alias for gdImageColorClosestHWB.
457
458   gdImageColorClosestHWB
459       $image->gdImageColorClosestHWB( $r, $g, $b )
460
461   ColorExact
462       $image->ColorExact( $r, $g, $b )
463
464       Alias for gdImageColorExact.
465
466   gdImageColorExact
467       $image->gdImageColorExact( $r, $g, $b )
468
469   ColorExactAlpha
470       $image->ColorExactAlpha( $r, $g, $b, $a )
471
472       Alias for gdImageColorExactAlpha.
473
474   gdImageColorExactAlpha
475       $image->gdImageColorExactAlpha( $r, $g, $b, $a )
476
477   ColorResolve
478       $image->ColorResolve( $r, $g, $b )
479
480       Alias for gdImageColorResolve.
481
482   gdImageColorResolve
483       $image->gdImageColorResolve( $r, $g, $b )
484
485   ColorResolveAlpha
486       $image->ColorResolveAlpha( $r, $g, $b, $a )
487
488       Alias for gdImageColorResolveAlpha.
489
490   gdImageColorResolveAlpha
491       $image->gdImageColorResolveAlpha( $r, $g, $b, $a )
492
493   ColorDeallocate
494       $image->ColorDeallocate( $color )
495
496       Alias for gdImageColorDeallocate.
497
498   gdImageColorDeallocate
499       $image->gdImageColorDeallocate( $color )
500
501   TrueColorToPalette
502       $image->TrueColorToPalette( $ditherFlag, $colorsWanted )
503
504       Alias for gdImageTrueColorToPalette.
505
506   gdImageTrueColorToPalette
507       $image->gdImageTrueColorToPalette( $ditherFlag, $colorsWanted )
508
509   ColorTransparent
510       $image->ColorTransparent( $color )
511
512       Alias for gdImageColorTransparent.
513
514   gdImageColorTransparent
515       $image->gdImageColorTransparent( $color )
516
517   FilledArc
518       $image->FilledArc( $cx, $cy, $w, $h, $s, $e, $color, $style )
519
520       Alias for gdImageFilledArc.
521
522   gdImageFilledArc
523       $image->gdImageFilledArc( $cx, $cy, $w, $h, $s, $e, $color, $style )
524
525   Arc
526       $image->Arc( $cx, $cy, $w, $h, $s, $e, $color )
527
528       Alias for gdImageArc.
529
530   gdImageArc
531       $image->gdImageArc( $cx, $cy, $w, $h, $s, $e, $color )
532
533   FilledEllipse
534       $image->FilledEllipse( $cx, $cy, $w, $h, $color )
535
536       Alias for gdImageFilledEllipse.
537
538   gdImageFilledEllipse
539       $image->gdImageFilledEllipse( $cx, $cy, $w, $h, $color )
540
541   FillToBorder
542       $image->FillToBorder( $x, $y, $border, $color )
543
544       Alias for gdImageFillToBorder.
545
546   gdImageFillToBorder
547       $image->gdImageFillToBorder( $x, $y, $border, $color )
548
549   Fill
550       $image->Fill( $x, $y, $color )
551
552       Alias for gdImageFill.
553
554   gdImageFill
555       $image->gdImageFill( $x, $y, $color )
556
557   CopyRotated
558       $image->CopyRotated( $dstX, $dstY, $srcX, $srcY, $srcWidth, $srcHeight,
559       $angle )
560
561       Alias for gdImageCopyRotated.
562
563   gdImageCopyRotated
564       $image->gdImageCopyRotated( $dstX, $dstY, $srcX, $srcY, $srcWidth,
565       $srcHeight, $angle )
566
567   SetBrush
568       $image->SetBrush(  )
569
570       Alias for gdImageSetBrush.
571
572   gdImageSetBrush
573       $image->gdImageSetBrush(  )
574
575   SetTile
576       $image->SetTile(  )
577
578       Alias for gdImageSetTile.
579
580   gdImageSetTile
581       $image->gdImageSetTile(  )
582
583   SetAntiAliased
584       $image->SetAntiAliased( $c )
585
586       Alias for gdImageSetAntiAliased.
587
588   gdImageSetAntiAliased
589       $image->gdImageSetAntiAliased( $c )
590
591   SetAntiAliasedDontBlend
592       $image->SetAntiAliasedDontBlend( $c, $dont_blend )
593
594       Alias for gdImageSetAntiAliasedDontBlend.
595
596   gdImageSetAntiAliasedDontBlend
597       $image->gdImageSetAntiAliasedDontBlend( $c, $dont_blend )
598
599   SetStyle
600       $image->SetStyle( $style, $noOfPixels )
601
602       Alias for gdImageSetStyle.
603
604   gdImageSetStyle
605       $image->gdImageSetStyle( $style, $noOfPixels )
606
607   SetThickness
608       $image->SetThickness( $thickness )
609
610       Alias for gdImageSetThickness.
611
612   gdImageSetThickness
613       $image->gdImageSetThickness( $thickness )
614
615   Interlace
616       $image->Interlace( $interlaceArg )
617
618       Alias for gdImageInterlace.
619
620   gdImageInterlace
621       $image->gdImageInterlace( $interlaceArg )
622
623   AlphaBlending
624       $image->AlphaBlending( $alphaBlendingArg )
625
626       Alias for gdImageAlphaBlending.
627
628   gdImageAlphaBlending
629       $image->gdImageAlphaBlending( $alphaBlendingArg )
630
631   SaveAlpha
632       $image->SaveAlpha( $saveAlphaArg )
633
634       Alias for gdImageSaveAlpha.
635
636   gdImageSaveAlpha
637       $image->gdImageSaveAlpha( $saveAlphaArg )
638
639   TrueColor
640       $image->TrueColor(  )
641
642       Alias for gdImageTrueColor.
643
644   gdImageTrueColor
645       $image->gdImageTrueColor(  )
646
647   ColorsTotal
648       $image->ColorsTotal(  )
649
650       Alias for gdImageColorsTotal.
651
652   gdImageColorsTotal
653       $image->gdImageColorsTotal(  )
654
655   Red
656       $image->Red( $c )
657
658       Alias for gdImageRed.
659
660   gdImageRed
661       $image->gdImageRed( $c )
662
663   Green
664       $image->Green( $c )
665
666       Alias for gdImageGreen.
667
668   gdImageGreen
669       $image->gdImageGreen( $c )
670
671   Blue
672       $image->Blue( $c )
673
674       Alias for gdImageBlue.
675
676   gdImageBlue
677       $image->gdImageBlue( $c )
678
679   Alpha
680       $image->Alpha( $c )
681
682       Alias for gdImageAlpha.
683
684   gdImageAlpha
685       $image->gdImageAlpha( $c )
686
687   GetTransparent
688       $image->GetTransparent(  )
689
690       Alias for gdImageGetTransparent.
691
692   gdImageGetTransparent
693       $image->gdImageGetTransparent(  )
694
695   GetInterlaced
696       $image->GetInterlaced(  )
697
698       Alias for gdImageGetInterlaced.
699
700   gdImageGetInterlaced
701       $image->gdImageGetInterlaced(  )
702
703   SX
704       $image->SX(  )
705
706       Alias for gdImageSX.
707
708   gdImageSX
709       $image->gdImageSX(  )
710
711   SY
712       $image->SY(  )
713
714       Alias for gdImageSY.
715
716   gdImageSY
717       $image->gdImageSY(  )
718
719   ColorAllocates
720       $image->ColorAllocates( $r(pdl), $g(pdl), $b(pdl) )
721
722       Alias for gdImageColorAllocates.
723
724   gdImageColorAllocates
725       $image->gdImageColorAllocates( $r(pdl), $g(pdl), $b(pdl) )
726
727   ColorAllocateAlphas
728       $image->ColorAllocateAlphas( $r(pdl), $g(pdl), $b(pdl), $a(pdl) )
729
730       Alias for gdImageColorAllocateAlphas.
731
732   gdImageColorAllocateAlphas
733       $image->gdImageColorAllocateAlphas( $r(pdl), $g(pdl), $b(pdl), $a(pdl)
734       )
735
736   SetPixels
737       $image->SetPixels( $x(pdl), $y(pdl), $color(pdl) )
738
739       Alias for gdImageSetPixels.
740
741   gdImageSetPixels
742       $image->gdImageSetPixels( $x(pdl), $y(pdl), $color(pdl) )
743
744   Lines
745       $image->Lines( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl), $color(pdl) )
746
747       Alias for gdImageLines.
748
749   gdImageLines
750       $image->gdImageLines( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl),
751       $color(pdl) )
752
753   DashedLines
754       $image->DashedLines( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl),
755       $color(pdl) )
756
757       Alias for gdImageDashedLines.
758
759   gdImageDashedLines
760       $image->gdImageDashedLines( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl),
761       $color(pdl) )
762
763   Rectangles
764       $image->Rectangles( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl), $color(pdl)
765       )
766
767       Alias for gdImageRectangles.
768
769   gdImageRectangles
770       $image->gdImageRectangles( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl),
771       $color(pdl) )
772
773   FilledRectangles
774       $image->FilledRectangles( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl),
775       $color(pdl) )
776
777       Alias for gdImageFilledRectangles.
778
779   gdImageFilledRectangles
780       $image->gdImageFilledRectangles( $x1(pdl), $y1(pdl), $x2(pdl),
781       $y2(pdl), $color(pdl) )
782
783   FilledArcs
784       $image->FilledArcs( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl), $s(pdl),
785       $e(pdl), $color(pdl), $style(pdl) )
786
787       Alias for gdImageFilledArcs.
788
789   gdImageFilledArcs
790       $image->gdImageFilledArcs( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl),
791       $s(pdl), $e(pdl), $color(pdl), $style(pdl) )
792
793   Arcs
794       $image->Arcs( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl), $s(pdl), $e(pdl),
795       $color(pdl) )
796
797       Alias for gdImageArcs.
798
799   gdImageArcs
800       $image->gdImageArcs( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl), $s(pdl),
801       $e(pdl), $color(pdl) )
802
803   FilledEllipses
804       $image->FilledEllipses( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl),
805       $color(pdl) )
806
807       Alias for gdImageFilledEllipses.
808
809   gdImageFilledEllipses
810       $image->gdImageFilledEllipses( $cx(pdl), $cy(pdl), $w(pdl), $h(pdl),
811       $color(pdl) )
812

CLASS FUNCTIONS

814   gdImageCopy
815       gdImageCopy ( $dst(PDL::IO::GD), $src(PDL::IO::GD), $dstX, $dstY,
816       $srcX, $srcY, $w, $h )
817
818   gdImageCopyMerge
819       gdImageCopyMerge ( $dst(PDL::IO::GD), $src(PDL::IO::GD), $dstX, $dstY,
820       $srcX, $srcY, $w, $h, $pct )
821
822   gdImageCopyMergeGray
823       gdImageCopyMergeGray ( $dst(PDL::IO::GD), $src(PDL::IO::GD), $dstX,
824       $dstY, $srcX, $srcY, $w, $h, $pct )
825
826   gdImageCopyResized
827       gdImageCopyResized ( $dst(PDL::IO::GD), $src(PDL::IO::GD), $dstX,
828       $dstY, $srcX, $srcY, $dstW, $dstH, $srcW, $srcH )
829
830   gdImageCopyResampled
831       gdImageCopyResampled ( $dst(PDL::IO::GD), $src(PDL::IO::GD), $dstX,
832       $dstY, $srcX, $srcY, $dstW, $dstH, $srcW, $srcH )
833
834   gdImageCompare
835       gdImageCompare ( $im1(PDL::IO::GD), $im2(PDL::IO::GD) )
836
837   gdImagePaletteCopy
838       gdImagePaletteCopy ( $dst(PDL::IO::GD), $src(PDL::IO::GD) )
839
840   StringTTF
841       $image->StringTTF( $brect, $fg, $fontlist, $ptsize, $angle, $x, $y,
842       $string )
843
844       Alias for gdImageStringTTF.
845
846   gdImageStringTTF
847       $image->gdImageStringTTF( $brect, $fg, $fontlist, $ptsize, $angle, $x,
848       $y, $string )
849
850   StringFT
851       $image->StringFT( $brect, $fg, $fontlist, $ptsize, $angle, $x, $y,
852       $string )
853
854       Alias for gdImageStringFT.
855
856   gdImageStringFT
857       $image->gdImageStringFT( $brect, $fg, $fontlist, $ptsize, $angle, $x,
858       $y, $string )
859

AUTHOR

861       Judd Taylor, Orbital Systems, Ltd.  judd dot t at orbitalsystems dot
862       com
863
864
865
866perl v5.34.0                      2022-02-28                             GD(3)
Impressum