[Scribus] PNG from Python script.

String Larson string01
Thu Sep 28 14:56:02 CEST 2006


On Sep 28, 2006, at 4:29 AM, Petr Van?k wrote:

> 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

Running 1.3.3.2 on OSX. Does not have help available.
Just points to the web site which does not have ImageExport documented.

Is this a known issue, or mia culpa?


>
> 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()

Thank you.


>




More information about the scribus mailing list