feat(gimp): add gimp default files script
Torrent API CI / test (push) Failing after 14s
Torrent API CI / lint (push) Successful in 10s
Torrent API CI / build (push) Skipped
Torrent API CI / install (mediahost) (push) Skipped
Torrent API CI / install (quiethost) (push) Skipped
Torrent API CI / install (serverhost) (push) Skipped
Torrent API CI / install (vivohost) (push) Skipped
Torrent API CI / test (push) Failing after 14s
Torrent API CI / lint (push) Successful in 10s
Torrent API CI / build (push) Skipped
Torrent API CI / install (mediahost) (push) Skipped
Torrent API CI / install (quiethost) (push) Skipped
Torrent API CI / install (serverhost) (push) Skipped
Torrent API CI / install (vivohost) (push) Skipped
This commit is contained in:
1 parent
13cfcdf7f0
commit
8acb36dd59
1 file changed
+39
@@ -0,0 +1,39 @@
|
||||
(define (create-startup-canvases)
|
||||
(let* (
|
||||
(img1 (car (gimp-image-new 3840 1080 RGB)))
|
||||
(img2 (car (gimp-image-new 1920 1080 RGB)))
|
||||
|
||||
(layer1 (car (gimp-layer-new
|
||||
img1 3840 1080 RGBA-IMAGE "Background" 100 NORMAL-MODE)))
|
||||
|
||||
(layer2 (car (gimp-layer-new
|
||||
img2 1920 1080 RGBA-IMAGE "Background" 100 NORMAL-MODE)))
|
||||
)
|
||||
|
||||
(gimp-context-set-background '(255 255 255))
|
||||
|
||||
(gimp-image-insert-layer img1 layer1 0 0)
|
||||
(gimp-image-insert-layer img2 layer2 0 0)
|
||||
|
||||
(gimp-drawable-fill layer1 BACKGROUND-FILL)
|
||||
(gimp-drawable-fill layer2 BACKGROUND-FILL)
|
||||
|
||||
(gimp-display-new img1)
|
||||
(gimp-display-new img2)
|
||||
)
|
||||
)
|
||||
|
||||
(script-fu-register
|
||||
"create-startup-canvases"
|
||||
"Create Startup Canvases"
|
||||
"Creates two blank canvases"
|
||||
"Custom"
|
||||
"Custom"
|
||||
"2026"
|
||||
""
|
||||
)
|
||||
|
||||
(script-fu-menu-register
|
||||
"create-startup-canvases"
|
||||
"<Image>/File/Create"
|
||||
)
|
||||
Reference in new issue
Block a user