based on http://registry.gimp.org/node/26292, I added export for sublayers in gimp 2.8. I'm not a python programmer, so I'm happy when someone would code a more clean version, but it works anyway..
This small script shows some information related to the current selected layer. This info includes:
- The layer's name
- The layer dimensions (in pixels)
- The layer offset respect the origin of the whole image (in pixels)
You can go to View->Layer info menu option to show the layer information window. The window stays on top, so the user can switch between the different layers of the image to inspect their values easily.
GIMP 2.8 Python Plug-in.
This plug-in scales the contents of the layer (or layer group) to image size.
Installation Instructions:
1. Close GIMP if it is open.
2. Extract "scale-layer-to-image-size.py" from zip archive to the ".../.gimp-2.8/plug-ins" directory.
3. Run GIMP. The plug-in should appear under the menu: "Layer > Scale Layer to Image Size". Don't forget to make the plug-in executable.
Get GIMP version (so scripts can be backwards compatible to 2.6)
I just created this stand alone script so that I can make my scripts work in 2.8 and 2.6. This used to be part of another script I had, so I'm not sure whether or not I needed to do script-fu-register, but it's working for me in 2.8.0 without having that.
There is an example usage in the header, but I'm showing it here, too:
; Example usage:
;
; ; Determine if GIMP version is greater than 2.6.X
; (set! gimpVersionHigherThan2pt6ptX (isGimpVersionHigherThan2pt6ptX))
;
BIMP is a graphical batch plugin for applying a set of GIMP manipulations on groups of images.
You can use predefined manipulations such resize, crop, flip, rotate, color correction, sharpen, watermark, format conversion, rename, but also select an other installed plugin or script-fu and apply it to each image.
Line Nova (GIMP 2.8.0 version) with x and y offset from center added
I just installed GIMP 2.8.0 so I used that script as the baseline, and added my updates to it. I'm also reposting the original one I had posted, in case the new one isn't backwards compatible with 2.6 etc.
Recent comments