Post Reply 

tiles to files plugin

Jun 26, 2012, 19:25
Post: #1
tiles to files plugin
I'm using this plugin (http://registry.gimp.org/node/20868) to separate the image into layers.
The plugin works well, but, when I try to separate an image containing transparency the splited layers stay with a black background.
How can I change this plugin to generate the new layer with transparency?
Find all posts by this user
Quote this message in a reply
Jun 26, 2012, 21:08
Post: #2
RE: tiles to files plugin
First, thank you for answer.
I've did the modifications (the extension to ".png", and the code), but still the same.
Code:
(file-png-save2 RUN-NONINTERACTIVE
                      newImage
                      tmpLayer
                      outfname
                      outfname
                      9 1 1 0 1 1 1 1 1)
              )

Attached image that I'm using.


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Jun 26, 2012, 22:44
Post: #3
RE: tiles to files plugin
Solved!

Changed RGB-IMAGE to RGBA-IMAGE

Code:
(car (gimp-layer-new newImage tileWidth tileHeight
                         RGBA-IMAGE outfname 100
                         NORMAL-MODE)))
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Any plugin for open multiple image in paint.net shinprog 1 412 Oct 31, 2017 11:38
Last Post: paynekj
  plugin save for web in Gimp 2.9.6 Dkk 1 271 Oct 19, 2017 09:02
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 433 Jul 11, 2017 07:26
Last Post: ythgilb
  [Easy] Sobel plugin parameters t4u 1 443 Oct 6, 2014 20:33
Last Post: t4u
  Color menuitems in script or plugin Barbie 4 678 Sep 29, 2014 09:51
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS