[Scribus] PNG from Python script.
Thu Sep 28 11:29:06 CEST 2006
On Wednesday 27 September 2006 22:31, String Larson wrote:
> Is it possible to export PNG's from a python script running w/in
> 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
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'
More information about the scribus