Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
don't .xcf save parasite information?
#1
I tried setting image parasite
using this in one script

Code:
parasite = gimp.Parasite("gimp-comment",0,comments)
image.parasite_attach(parasite)
and this in another script

Code:
comment = image.parasite_find("gimp-comment")
pdb.gimp_message(comment)
Everything seems to work okay as long as i have the .xcf opened.
If i close the .xcf after first script
and reopen .xcf the 2nd script fails getting parasite.
But when i tested exporting as .jpg
then the 2nd script would work
It seems as though parasite is not being saved when you save .xcf but does save if you export to .jpg.

Any ideas? on how to make it work for .xcf as well?
Reply


Messages In This Thread
don't .xcf save parasite information? - by trandoductin - 04-06-2017, 05:10 AM

Forum Jump: