Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Defines | Functions | Variables
objimageexport.h File Reference
#include "cmdvar.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ImageExport_Check(op)   ((op)->ob_type == &ImageExport_Type)

Functions

 PyDoc_STRVAR (imgexp__doc__,"Image export\n\ \n\ Class ImageExport() provides the bitmap graphics exporting\n\ for Python scripting as you know it from Export/Save as Image\n\ menu. See related class PDFfile() and procedure savePageAsEPS().\n\ Example:\n\ i = ImageExport()\n\ i.type = 'PNG' # select one from i.allTypes list\n\ i.scale = 200 # I want to have 200%\n\ i.name = '/home/subik/test.png'\n\ i.save()\n\ \n\ two last lines should be replaced with:\n\ i.saveAs('/home/subik/test.png')")
 PyDoc_STRVAR (imgexp_dpi__doc__,"This value will be used for export as DPI. Read/write integer.")
 PyDoc_STRVAR (imgexp_scale__doc__,"This is the scaling of the image. 100 = 100% etc. Read/write iteger.")
 PyDoc_STRVAR (imgexp_quality__doc__,"Quality/compression: minimum 1 (poor), maximum 100 (qaulity). Read/write integer.")
 PyDoc_STRVAR (imgexp_filename__doc__,"Filename of the image. With or without path. Read/write string.")
 PyDoc_STRVAR (imgexp_type__doc__,"Bitmap type. See allTypes list for more info. Read/write string.")
 PyDoc_STRVAR (imgexp_alltypes__doc__,"Available types. Read only list of strings.")
 PyDoc_STRVAR (imgexp_save__doc__,"save() -> boolean\n\nSaves image under previously set 'name'.")
 PyDoc_STRVAR (imgexp_saveas__doc__,"saveAs('filename') -> boolean\n\nSaves image as 'filename'.")

Variables

PyTypeObject ImageExport_Type

Define Documentation

#define ImageExport_Check (   op)    ((op)->ob_type == &ImageExport_Type)

Definition at line 44 of file objimageexport.h.


Function Documentation

PyDoc_STRVAR ( imgexp__doc__  )
PyDoc_STRVAR ( imgexp_dpi__doc__  ,
"This value will be used for export as DPI. Read/write integer."   
)
PyDoc_STRVAR ( imgexp_scale__doc__  )
PyDoc_STRVAR ( imgexp_quality__doc__  ,
"Quality/compression: minimum 1   poor,
maximum 100(qaulity).Read/write integer."   
)
PyDoc_STRVAR ( imgexp_filename__doc__  ,
"Filename of the image. With or without path. Read/write string."   
)
PyDoc_STRVAR ( imgexp_type__doc__  ,
"Bitmap type. See allTypes list for more info. Read/write string."   
)
PyDoc_STRVAR ( imgexp_alltypes__doc__  ,
"Available types. Read only list of strings."   
)
PyDoc_STRVAR ( imgexp_save__doc__  ,
"save() -> boolean\n\nSaves image under previously set 'name'."   
)
PyDoc_STRVAR ( imgexp_saveas__doc__  ,
"saveAs('filename') -> boolean\n\nSaves image as 'filename'."   
)

Variable Documentation

PyTypeObject ImageExport_Type

Definition at line 200 of file objimageexport.cpp.