Post Reply 

python-fu file_dds_save wrong number of paramters ?

Jan 13, 2019, 01:51
Post: #1
python-fu file_dds_save wrong number of paramters ?
Hello. I have problem with saving a dds file using file_dds_save:
This is the code I use. All of the values have been entered according to the gimp's manual:
Code:
pdb.file_dds_save(0,newimage,drawable,fullpath,fullpath,7,0,0,0,-1,0,0,0,0,0.0,0,0,0.0)

But the script crashes and throws this error:
Code:
Traceback (most recent call last):
  File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python/gimpfu.py", line 857, in _run
    res = apply(func, params[1:])
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\sti_foil_cutter.py", line 37, in draw
    pdb.file_dds_save(0,newimage,drawable,fullpath,fullpath,7,0,0,0,-1,0,0,0,0,0.0,0,0,0.0)
TypeError: wrong number of parameters

I have even tried to randomly remove and add the parameters but nothing worked and I'm out of ideas. Any help would be greatly appreciated.
Find all posts by this user
Quote this message in a reply
Jan 14, 2019, 09:28
Post: #2
RE: python-fu file_dds_save wrong number of paramters ?
As it says in the forum announcements, this forum is had been DEAD for a long time.

The spammers keep trying to take over.

Save yourself from them and go to https://www.gimp-forum.net instead
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Run Deskew plugin from Python-Fu console ramonvaldezz 12 3,799 Nov 18, 2018 21:48
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 1,035 Jul 11, 2017 07:26
Last Post: ythgilb
  Setting text markup from python script Burbly 1 1,041 Sep 16, 2014 12:29
Last Post: Burbly
  Python-Fu Script Not Registering image_artist 1 907 Sep 14, 2014 13:24
Last Post: image_artist
  Bashing my head - Batch Python Script nmiltner 1 1,043 Sep 5, 2014 00:58
Last Post: nmiltner

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS