Skip to content

Instantly share code, notes, and snippets.

View 1bardesign's full-sized avatar

Max Cahill 1bardesign

View GitHub Profile
@1bardesign
1bardesign / export-layers.scm
Created April 30, 2023 12:20
script-fu to export all image layers from a gimp file to png
; export all (image) layers as separate pngs
; available in the layer menu
;
; Max Cahill 2023
; Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
;
; recursive layer scan routine that pulls all layers out of the image into a list
; from https://gitlab.gnome.org/GNOME/gimp/-/issues/6761
@1bardesign
1bardesign / license.txt
Last active June 7, 2023 23:43
prerelease basic profiler for lua, depends on batteries and uses lg as an alias for love.graphics - will be included in ferris at some point
Copyright 2023 Max Cahill
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions: