This operation only works if the layer has been added to an image. Offsets are also provided which describe the position of the previous layer's content. This procedure resizes the layer so that its new width and height are equal to the supplied parameters. # (gimp-layer-resize layer new-width new-height offx offy) | is-floating-sel | GIMP_PDB_INT32 | TRUE if the layer is a floating selection (TRUE or FALSE) | Floating selections are special cases of layers which are attached to a specific drawable. This procedure returns whether the layer is a floating selection. | svtrans | GIMP_PDB_INT32 | Preserve color of transparent pixels? | | comment | GIMP_PDB_INT32 | Write comment? | | time | GIMP_PDB_INT32 | Write tIME chunk? | | phys | GIMP_PDB_INT32 | Write pHYs chunk? | | offs | GIMP_PDB_INT32 | Write oFFs chunk? | | gama | GIMP_PDB_INT32 | Write gAMA chunk? | | bkgd | GIMP_PDB_INT32 | Write bKGD chunk? | | compression | GIMP_PDB_INT32 | Deflate Compression factor (0-9) | | interlace | GIMP_PDB_INT32 | Use Adam7 interlacing? | These defaults are used to seed the UI, by the file_png_save_defaults procedure, and by gimp_file_save when it detects to use PNG. This procedure returns the current set of defaults stored as a parasite for the PNG save plug-in. | level | GIMP_PDB_INT32 | 1: PostScript Level 1, 2: PostScript Level 2 | | opacity | GIMP_PDB_FLOAT | The opacity to set for the endpoint (0 0: max. | color | GIMP_PDB_COLOR | The color to set | | segment | GIMP_PDB_INT32 | The index of the segment within the gradient (segment >= 0) | | name | GIMP_PDB_STRING | The gradient name | This procedure sets the right endpoint color of the specified segment of the specified gradient. # (gimp-gradient-segment-set-right-color name segment color opacity) | name | GIMP_PDB_STRING | The name of the vectors object | | vectors | GIMP_PDB_VECTORS | The vectors object | | image | GIMP_PDB_IMAGE | Output image | | raw-filename | GIMP_PDB_STRING | The name of the file to load | | filename | GIMP_PDB_STRING | The name of the file to load | # (file-xjt-load run-mode filename raw-filename) | toggle | GIMP_PDB_INT32 | Work on copy | | toggle | GIMP_PDB_INT32 | Add background | | value | GIMP_PDB_FLOAT | Shadow Y offset | | value | GIMP_PDB_FLOAT | Shadow X offset | | toggle | GIMP_PDB_INT32 | Add drop-shadow | | drawable | GIMP_PDB_DRAWABLE | Drawable | | run-mode | GIMP_PDB_INT32 | Interactive, non-interactive | # (script-fu-round-corners run-mode image drawable value toggle value value value toggle toggle)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |