On Wednesday 27 September 2006 22:31, String Larson wrote: > Is it possible to export PNG's from a python script running w/in > Scribus. > I see the API for PDFfile and it works nicely. > I want to do the same thing to either PNG or JPEG.
sure you can (in 1.3.x series). See Help->Scribus manual (F1). Then in help window For developers -> Scripter API -> Image Export example: i = ImageExport() i.type = 'PNG' # select one from i.allTypes list i.scale = 200 # I want to have 200% i.name = '/home/subik/test.png' i.save() etc. cheers Petr
