Image processing opcodes
Documentation
imagecreate :: Irate -> Irate -> IrateSource
- opcode : imagecreate
- syntax :
iimagenum imagecreate iwidth, iheight
- description :
Create an empty image of a given size. Individual pixel values can then be set with. imagegetpixel.
imagesize :: Irate -> MultiOutSource
- opcode : imagesize
- syntax :
iwidth iheight imagesize iimagenum
- description :
Return the width and height of a previously opened or created image. An image can be loaded with imageload. An empty image can be created with imagecreate.
imagegetpixelA :: Irate -> Arate -> Arate -> MultiOutSource
- opcode : imagegetpixel
- syntax :
ared agreen ablue imagegetpixel iimagenum, ax, ay kred kgreen kblue imagegetpixel iimagenum, kx, ky
- description :
Return the RGB pixel values of a previously opened or created image. An image can be loaded with imageload. An empty image can be created with imagecreate.
imagegetpixelK :: (K k0, K k1) => Irate -> k0 -> k1 -> MultiOutSource
- opcode : imagegetpixel
- syntax :
ared agreen ablue imagegetpixel iimagenum, ax, ay kred kgreen kblue imagegetpixel iimagenum, kx, ky
- description :
Return the RGB pixel values of a previously opened or created image. An image can be loaded with imageload. An empty image can be created with imagecreate.