It is currently Thu Oct 23, 2014 6:59 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 8:11 am  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11482
Location: "Looking for my eraser" =P
Seems to be moving right along.I edited the Gimpressionist preview.c to show a 240x400 grid also.
Was 60x100
See how that turns out.
The compile has been going for about an hour now without errors sooo... :)

:bigthup

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 8:37 am  (#2) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5877
that of the grid is a good idea !
would be cool modify also file-gif-save plugin
just replacing the default now Flatten with Save as animation
...i always found disturbing gimp attempts to flatten my gif animation when saving...and what reasonmay be in the 2011 to save as gif something that is not animation ?


if you can wait a bit i may search the edited file, i send to partha once so may be on my boxnet,was based on a older 2.7 code but should be any change regarding the gif plugin
but again is simple as replace false with true in the definition of variable and default in the line "Save as animation"

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 10:20 am  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11482
Location: "Looking for my eraser" =P
Can you tell me which c file that is PC?

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 7:31 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5877
you will see in the plug-ins folder is file-gif-save, if i remember well is in "common" a subfolder there

i remember was a pain find the right line there i try looking again in my hd

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 7:40 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5877
FOUND IT !!

http://www.box.net/shared/robfnbqhsk

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Tue Nov 15, 2011 8:13 pm  (#6) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 971
Rod wrote:
Seems to be moving right along.I edited the Gimpressionist preview.c to show a 240x400 grid also.
Was 60x100
See how that turns out.
The compile has been going for about an hour now without errors sooo... :)

:bigthup

Congratulations Rod!! :jumpclap


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Wed Nov 16, 2011 2:43 am  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11482
Location: "Looking for my eraser" =P
Quote:
but again is simple as replace false with true in the definition of variable and default in the line "Save as animation"

All set PC...thanks.If you want any more changes applied holler at me.
Compiling again now.

partha wrote:
Rod wrote:
Seems to be moving right along.I edited the Gimpressionist preview.c to show a 240x400 grid also.
Was 60x100
See how that turns out.
The compile has been going for about an hour now without errors sooo... :)

:bigthup

Congratulations Rod!! :jumpclap


Thanks Partha.You have helped me a great deal.Great directions on a complete Windows build environment i might add. :)
I ran into one more small snag perhaps you can help me with.
Iconv.exe is in that directory so i do not know what the error is for.
Here is the desktop > makefile

INTLTOOL_EXTRACT = /opt/lib/bin/intltool-extract
INTLTOOL_MERGE = /opt/lib/bin/intltool-merge
INTLTOOL_PERL = /opt/perl/bin/perl
INTLTOOL_UPDATE = /opt/lib/bin/intltool-update

So the directories are correct.Do i have to manually set iconv.exe some how in the makefile?

Making install in desktop
make[1]: Entering directory `/c/src/gimp-nightly-builds/gimp-2.7.4/desktop'
/opt/lib/bin/intltool-merge ../po gimp.desktop.in gimp.desktop -d -u -c ../po/.intltool-merge-cache
Can't spawn "cmd.exe": No such file or directory at C:/msys/opt/lib/bin/intltool-merge line 105.
*** iconv is not found on this system!
*** Without it, intltool-merge can not convert encodings.
make[2]: Entering directory `/c/src/gimp-nightly-builds/gimp-2.7.4/desktop'
make[2]: Nothing to be done for `install-exec-am'.
/opt/lib/bin/intltool-merge ../po gimp.desktop.in gimp.desktop -d -u -c ../po/.intltool-merge-cache
Can't spawn "cmd.exe": No such file or directory at C:/msys/opt/lib/bin/intltool-merge line 105.
*** iconv is not found on this system!
*** Without it, intltool-merge can not convert encodings.
test -z "/opt/gimp-2.7.4/share/applications" || /bin/mkdir -p "/opt/gimp-2.7.4/share/applications"
/bin/install -c -m 644 ./gimp.desktop '/opt/gimp-2.7.4/share/applications'
/bin/install: cannot stat `./gimp.desktop': No such file or directory
make[2]: *** [install-applicationsDATA] Error 1
make[2]: Leaving directory `/c/src/gimp-nightly-builds/gimp-2.7.4/desktop'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/c/src/gimp-nightly-builds/gimp-2.7.4/desktop'
make: *** [install-recursive] Error 1

Compaq_Owner@Family-Room /c/src/gimp-nightly-builds/gimp-2.7.4
$

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Wed Nov 16, 2011 6:32 am  (#8) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 971
Rod wrote:
Quote:
but again is simple as replace false with true in the definition of variable and default in the line "Save as animation"

All set PC...thanks.If you want any more changes applied holler at me.
Compiling again now.

partha wrote:
Rod wrote:
Seems to be moving right along.I edited the Gimpressionist preview.c to show a 240x400 grid also.
Was 60x100
See how that turns out.
The compile has been going for about an hour now without errors sooo... :)

:bigthup

Congratulations Rod!! :jumpclap


Thanks Partha.You have helped me a great deal.Great directions on a complete Windows build environment i might add. :)
I ran into one more small snag perhaps you can help me with.
Iconv.exe is in that directory so i do not know what the error is for.
Here is the desktop > makefile

INTLTOOL_EXTRACT = /opt/lib/bin/intltool-extract
INTLTOOL_MERGE = /opt/lib/bin/intltool-merge
INTLTOOL_PERL = /opt/perl/bin/perl
INTLTOOL_UPDATE = /opt/lib/bin/intltool-update

So the directories are correct.Do i have to manually set iconv.exe some how in the makefile?

...
Compaq_Owner@Family-Room /c/src/gimp-nightly-builds/gimp-2.7.4
$

Sorry about that Rod.
before you hit make, extend you path to include the location of Windows commandline.

So, before make, type the following:
$ export PATH=$PATH:/c/Windows/System32

I believe that is the location of cmd.exe on an XP. But please verify and modify accordingly.


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Wed Nov 16, 2011 7:56 am  (#9) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5877
I think will be nice add support for swf (flash) i use this script from JamesH,,uff i can't see how attach txt files i use the code tag
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# ExportSWFE.py - 2009 by James Huang <elastic192@gmail.com>
# http://tw.myblog.yahoo.com/jw!5nbbef.RAx8aIbO00RkKIw--
# Copyright under GPL v2

# This script requires the package SWFTools(http://www.swftools.org/)
# it generate a temp script
# and use swfc to compile the script
# so you need to copy swfc.exe to \Program Files\Gimp-2.0\bin folder

from gimpfu import *
import os, sys, string
import random

escape_dict={'\a':r'\A',
           '\b':r'\B',
           '\c':r'\C',
           '\f':r'\F',
           '\n':r'\N',
           '\r':r'\R',
           '\t':r'\T',
           '\v':r'\V',
           '\'':r'\'',
           '\"':r'\"',
           '\0':r'\0',
           '\1':r'\1',
           '\2':r'\2',
           '\3':r'\3',
           '\4':r'\4',
           '\5':r'\5',
           '\6':r'\6',
           '\7':r'\7',
           '\8':r'\8',
           '\9':r'\9'}

def raw(text):
    """Returns a raw string representation of text"""
    new_string=''
    for char in text:
        try: new_string+=escape_dict[char]
        except KeyError: new_string+=char
    return new_string

def func_frameEffect(frameRate, file, totalLayers, curLayer, frameIndex, imgWD, imgHT):
   effFrameNums = frameRate / 3
   nextLayer = totalLayers-curLayer+1
   if nextLayer > totalLayers:
      nextLayer = 1
   file.write("      .jump BG%05d x=%d y=%d scale=100%% \n" % (totalLayers-curLayer, imgWD/2, imgHT/2))
   #rnd = random.randrange(9)
   rnd = curLayer %  9
   if rnd == 0:
      file.write("      .put BG%05d pin=center x=%d y=%d scale=0%% \n" % (nextLayer, imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .change BG%05d scale=0%% \n" % (totalLayers-curLayer))
      file.write("      .change BG%05d scale=101%% \n" % (nextLayer))
   elif rnd == 1:
      file.write("      .put BG%05d pin=center x=%d y=%d scale=100%% \n" % (nextLayer, imgWD+imgWD/2, imgHT+imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=-%d y=-%d\n" % (totalLayers-curLayer, imgWD/2, imgHT/2))
      file.write("      .move BG%05d x=%d y=%d\n" % (nextLayer, imgWD/2-1, imgHT/2-1))
   elif rnd == 2:
      file.write("      .put BG%05d pin=center x=-%d y=-%d scale=100%% \n" % (nextLayer, imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=%d y=%d\n" % (totalLayers-curLayer, imgWD+imgWD/2, imgHT+imgHT/2))
      file.write("      .move BG%05d x=%d y=%d\n" % (nextLayer, imgWD/2+1, imgHT/2+1))
   elif rnd == 3:
      file.write("      .put BG%05d pin=center x=-%d y=%d scale=100%% \n" % (nextLayer, imgWD/2, imgHT+imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=%d y=-%d \n" % (totalLayers-curLayer, imgWD+imgWD/2, imgHT/2))
      file.write("      .move BG%05d x=%d y=%d \n" % (nextLayer, imgWD/2+1, imgHT/2-1))
   elif rnd == 4:
      file.write("      .put BG%05d pin=center x=%d y=-%d scale=100%% \n" % (nextLayer, imgWD+imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=-%d y=%d \n" % (totalLayers-curLayer, imgWD/2, imgHT+imgHT/2))
      file.write("      .move BG%05d x=%d y=%d \n" % (nextLayer, imgWD/2-1, imgHT/2+1))
   elif rnd == 5:
      file.write("      .put BG%05d pin=center x=%d y=%d scale=100%% \n" % (nextLayer, imgWD+imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=-%d \n" % (totalLayers-curLayer, imgWD/2))
      file.write("      .move BG%05d x=%d \n" % (nextLayer, imgWD/2-1))
   elif rnd == 6:
      file.write("      .put BG%05d pin=center x=-%d y=%d scale=100%% \n" % (nextLayer, imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d x=%d \n" % (totalLayers-curLayer, imgWD+imgWD/2))
      file.write("      .move BG%05d x=%d \n" % (nextLayer, imgWD/2+1))
   elif rnd == 7:
      file.write("      .put BG%05d pin=center x=%d y=%d scale=100%% \n" % (nextLayer, imgWD/2, imgHT+imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d y=-%d \n" % (totalLayers-curLayer, imgHT/2))
      file.write("      .move BG%05d y=%d \n" % (nextLayer, imgHT/2-1))
   else:
      file.write("      .put BG%05d pin=center x=%d y=-%d scale=100%% \n" % (nextLayer, imgWD/2, imgHT/2))
      frameIndex = frameIndex + effFrameNums
      file.write("   .frame %d\n" % frameIndex)
      file.write("      .move BG%05d y=%d \n" % (totalLayers-curLayer, imgHT+imgHT/2))
      file.write("      .move BG%05d y=%d \n" % (nextLayer, imgHT/2+1))
   return frameIndex

#def python_fu_ExportSWF(activeImage, activeLayer, exportDir, audioEnable, audioFile, exportName, frameEffect, flashVersion, frameRate, imageQuality, webLink, removeTmpFile, usedAS, cscFile):
def python_fu_ExportSWF(activeImage, activeLayer, exportDirN, audioEnable, audioFileN, exportNameN, frameEffect, flashVersion, frameRate, imageQuality, webLink, removeTmpFile, loopAnim, loopAudio):
   exportSep = str(os.sep)
   imgWD = activeImage.width
   imgHT = activeImage.height
   
   path1 = gimp.locale_directory
   dir1 = os.path.split(path1)
   dir2 = os.path.split(dir1[0])
   gimp_bin_dir = dir2[0] + "\Bin"
   swfc = gimp_bin_dir+"\Swfc.exe"
   if not os.path.isfile(swfc):
      #pdb.gimp_message(path1+", "+gimp.data_directory+", "+gimp.directory)
      #pdb.gimp_message(gimp_bin_dir)
      pdb.gimp_message("This script requires the package SWFTools\n"
      "(http://www.swftools.org/)\n"
      "it generate a temp script\n"
      "and use swfc to compile the script\n"
      "so you need to copy swfc.exe to\n"+gimp_bin_dir+" folder")
      return
   
   usedAS = 0
   
   tmpDir = raw(exportDirN)
   exportDir = tmpDir.upper()
   exportName = exportNameN.upper()
   
   audioFile = "None"

   if audioEnable:   
      tmpstring = "%s" % audioFileN
   
      if ("None" == tmpstring):
         audioEnable = False
      else:
         tmpF = raw(tmpstring)
         audioFile = tmpF.upper()
         extFile = os.path.splitext(audioFile)
         if extFile[1] != ".MP3" and extFile[1] != ".WAV":
            audioEnable = False
      if not audioEnable:
         tmpstring = "Invalid audioFile %s !\nAudio disable" % audioFile
         pdb.gimp_message(tmpstring)
   
   tlen = len(exportDir)
   if exportDir[tlen-1] == '\\':
      exportSep = ""
   
   outputFile = "%s%s%s" % (exportDir, exportSep, exportName)
   
   scFile = "%s%s%s.sc" % (exportDir, exportSep, exportName)
   file = open(scFile, 'w')
#   file.write(".flash filename=\"%s\" bbox=%dx%d version=%d fps=%d\n" % (exportName, imgWD, imgHT, flashVersion, frameRate))
   file.write(".flash bbox=%dx%d version=%d fps=%d\n" % (imgWD, imgHT, flashVersion, frameRate))

   activeImage.undo_group_start()
      
   jpgQuality = imageQuality / 100.0
   
   totalLayers = len(activeImage.layers)
   curLayer = totalLayers - 1;
   while curLayer >= 0:
      if (usedAS and activeImage.layers[curLayer].bpp == 4):
         pngFile = "%s%sTemp-gimp-%s%04d.png" % (exportDir, exportSep, exportName, totalLayers-curLayer)
         pdb.gimp_edit_copy(activeImage.layers[curLayer])
         tmpImage = gimp.Image(activeImage.layers[curLayer].width, activeImage.layers[curLayer].height, 0)
         tmpDrawable = gimp.Layer(tmpImage, "Temp", tmpImage.width, tmpImage.height, RGBA_IMAGE, 100, NORMAL_MODE)
         pdb.gimp_image_add_layer(tmpImage, tmpDrawable, 0)
         pdb.gimp_floating_sel_anchor(pdb.gimp_edit_paste(tmpDrawable,TRUE))
         pdb.file_png_save(tmpImage, tmpDrawable, pngFile, pngFile, 0, 9, True, False, False, True, True)
         file.write("   .png BG%05d \"%s\"\n" % (totalLayers-curLayer, pngFile))
         pdb.gimp_image_delete(tmpImage)
      else:
         jpgFile = "%s%sTemp-gimp-%s%04d.jpg" % (exportDir, exportSep, exportName, totalLayers-curLayer)
         pdb.gimp_layer_resize_to_image_size(activeImage.layers[curLayer])
         pdb.file_jpeg_save(activeImage, activeImage.layers[curLayer], jpgFile, jpgFile, jpgQuality, 0, 1, 0, "", 0, 1, 0, 0)
         file.write("   .jpeg BG%05d \"%s\"\n" % (totalLayers-curLayer, jpgFile))
#         file.write("   .jpeg BG%05d \"Temp-gimp-%s%04d.jpg\"\n" % (totalLayers-curLayer, exportName, totalLayers-curLayer))
      curLayer = curLayer - 1

   activeImage.undo_group_end()
   
   url = len(webLink)
   if url > 0:
      file.write("\n")
      file.write("   .box box1 color=white fill=#ffffff width=%d height=%d\n" % (imgWD, imgHT))
      file.write("   .button mybutton1\n")
      file.write("      .show box1 as=area\n")
      file.write("      .on_press:\n")
      file.write("         getURL(\"%s\", \"_blank\");\n" % webLink)
       file.write("      .end\n")
      file.write("   .end\n")
   
   if audioEnable:
      file.write("\n")
      file.write("   .sound sound1 \"%s\"\n" % audioFile)
      if loopAudio:
         file.write("   .play sound1 loop=-1\n")
      else:
         file.write("   .play sound1 loop=1\n")
      
   if usedAS:
      scF = open(cscFile, 'r')
      lines = scF.readlines()
      for line in lines:
         file.write("%s" % line)
         scF.close()
   else:
      #frameEffect = 1
      file.write("\n")
      file.write("   .put BG00001 pin=center x=%d y=%d scale=100%%\n" % (imgWD/2, imgHT/2))
      if url > 0:
         file.write("   .put mybutton1\n")
      file.write("\n")
      curLayer = totalLayers - 1;
      frameIndex = 0
      while curLayer >= 0:
         resList = string.split(activeImage.layers[curLayer].name, '(')
         if len(resList) < 2:
            frameTime = 100
         else:
            ms = resList[1].strip('ms) ')
            frameTime = int(ms)
         if frameTime < (1000/frameRate):
            frameTime = 1000/frameRate
         frameIndex = frameIndex + frameRate*frameTime/1000
         file.write("   .frame %d\n" % frameIndex)
         if curLayer > 0:
            if frameEffect:
               frameIndex = func_frameEffect(frameRate, file, totalLayers, curLayer, frameIndex, imgWD, imgHT)
            else:
               file.write("      .put BG%05d pin=center x=%d y=%d scale=100%% \n" % (totalLayers-curLayer+1, imgWD/2, imgHT/2))
         else:
            if frameEffect:
               file.write("      .jump BG%05d x=%d y=%d alpha=100%% \n" % (totalLayers-curLayer, imgWD/2, imgHT/2))
               frameIndex = frameIndex + (frameRate/3)
               file.write("   .frame %d\n" % frameIndex)
               file.write("      .change BG%05d alpha=0%% \n" % (totalLayers-curLayer))
               frameIndex = frameIndex + 1
               file.write("   .frame %d\n" % frameIndex)
            if loopAnim:
               file.write("      .action:\n")
               file.write("         gotoFrame(1);\n")
               file.write("         Play();\n")
               file.write("      .end\n")
            else:
#               if audioEnable:
#                  file.write("      .stop sound1\n")
               file.write("      .action:\n")
               file.write("         stop();\n")
               file.write("      .end\n")
         curLayer = curLayer - 1
   
   file.write(".end\n")
   file.close()
#   command = "swfc %s" % (scFile)
   command = "swfc -o \"%s\" \"%s\"" % (outputFile, scFile)
   os.system(command)
      
   #remove temp file
   if removeTmpFile:
      del_command = "del \"%s%sTemp-gimp-%s*.jpg\"" % (exportDir, exportSep, exportName)
      #pdb.gimp_message(del_command)
      os.system(del_command)
      del_command = "del \"%s\"" % (scFile)
      #pdb.gimp_message(del_command)
      os.system(del_command)
      
register(
   "python-fu-ExportSWF",
   "Export SWF 20090501\nExport the layers of an image as a Shockwave Flash Animation\nJames Huang\nhttp://tw.myblog.yahoo.com/jw!5nbbef.RAx8aIbO00RkKIw--",
   "Export SWF 20090501\nExport the layers of an image as a Shockwave Flash Animation\nJames Huang\nhttp://tw.myblog.yahoo.com/jw!5nbbef.RAx8aIbO00RkKIw--",
   "James Huang, http://tw.myblog.yahoo.com/jw!5nbbef.RAx8aIbO00RkKIw--",
   "GPL V2 License",
   "2009",
   "<Image>/File/Save/Export SWF File ...",
   "RGB*",
   [
      (PF_DIRNAME,   "exportDirN", ("Export to"), ""),
      (PF_TOGGLE,      "audioEnable", ("Add Audio"), False),
      (PF_FILENAME,   "audioFileN", ("WAV/MP3 File"), "None"),
      (PF_STRING,      "exportNameN", ("Filename"), "Export.swf"),
      (PF_TOGGLE,      "frameEffect", ("Transitions"), False),
      (PF_SPINNER,   "flashVersion", ("Flash Version"), 8, (6,10,1)),
      (PF_SPINNER,   "frameRate", ("Frame Rate"), 30, (1,60,1)),
      (PF_SPINNER,   "imageQuality", ("Image JPEG Quality"), 80, (10,100,5)),
      (PF_STRING,      "webLink", ("Web Link"), ""),
      (PF_TOGGLE,      "removeTmpFile", ("Remove Temp File"), True),
      (PF_TOGGLE,      "loopAnim", ("Loop Animation"), True),
      (PF_TOGGLE,      "loopAudio", ("Loop Audio"), True),
#      (PF_TOGGLE,      "usedAS", ("Use Custom Script"), False),
#      (PF_FILENAME,   "cscFile", ("Script File"), "NONE"),
   ],
   [],
   python_fu_ExportSWF,
   domain=("gimp20-python", gimp.locale_directory))
      
main()


that require also "swfc.exe" be included in the bin directory or anyway along the path
the exe come with swftools that is gpl so should be no problem to use it

As should be no license problem to include in bin gswin32(or 64) .exe , to solve the missed dependency and be able to save & open PDF

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
 Post subject: Re: My first Gimp-2.7.4 compile
PostPosted: Wed Nov 16, 2011 8:04 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5877
and also for file plugin i will add this script http://www.registry.gimp.org/node/100 that allow to export gimp paths as SVG

Edit
photographer may like http://www.registry.gimp.org/node/25805

i am not sure if you already included or i added to my copy ...in any case the RIOT "save for the web plugin is a must have http://www.registry.gimp.org/node/20778

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group