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

OO INTERFACE

109       Object Oriented interface to the GD image library.
110

SYNOPSIS

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

DESCRIPTION

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

METHODS

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

CLASS FUNCTIONS

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

AUTHOR

860       Judd Taylor, Orbital Systems, Ltd.  judd dot t at orbitalsystems dot
861       com
862
863
864
865perl v5.32.0                      2020-09-17                             GD(3)
Impressum