diff options
| author | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-04-25 20:57:24 +0000 |
|---|---|---|
| committer | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-04-25 20:57:24 +0000 |
| commit | 4669bb25fc218ac581eb9708e478cd40d3840a9b (patch) | |
| tree | f8fb94d5ef8698eff014b890aca3689db602ad51 /scribus/doc/it/scripterapi-ImageExport.html | |
| parent | eb6b975c786f690ecf62fd44459b839aefabf563 (diff) | |
| download | scribus-4669bb25fc218ac581eb9708e478cd40d3840a9b.tar.gz scribus-4669bb25fc218ac581eb9708e478cd40d3840a9b.tar.xz scribus-4669bb25fc218ac581eb9708e478cd40d3840a9b.zip | |
Update Italian documentation
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17472 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/doc/it/scripterapi-ImageExport.html')
| -rw-r--r-- | scribus/doc/it/scripterapi-ImageExport.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/scribus/doc/it/scripterapi-ImageExport.html b/scribus/doc/it/scripterapi-ImageExport.html new file mode 100644 index 0000000..f3b7c53 --- /dev/null +++ b/scribus/doc/it/scripterapi-ImageExport.html @@ -0,0 +1,65 @@ +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <title>Python: class ImageExport</title> +</head> +<body> +<h2>Python: class ImageExport</h2> +<p> +<a name="ImageExport">class <strong>ImageExport</strong></a>(object) +</p> +<hr /> + +<h2>Image export</h2> +<p>Class ImageExport() provides the bitmap graphics exporting for Python scripting as you know it from Export/Save as Image menu. See related class PDFfile() and procedure savePageAsEPS().</p> +<p>Example:<br/> +<code> +i = ImageExport()<br/> +i.type = 'PNG' # select one from i.allTypes list<br/> +i.scale = 200 # I want to have 200%<br/> +i.name = '/home/subik/test.png'<br/> +i.save()<br/> +</p> +<p>Last two lines should be replaced with: <code>i.saveAs('/home/subik/test.png')</code></p> + +<h3>Methods defined here</h3> + +<dl> + <dt><strong>__init__(...)</strong></strong></dt> + <dd><p>x.__init__(...) initializes x; see x.__class__.__doc__ for signature</p></dd> + + <dt><strong>save(...)</strong></dt> + <dd>save() -> boolean + <p>Saves image under previously set 'name'.</p></dd> + + <dt><strong>saveAs(...)</strong></dt> + <dd>saveAs('filename') -> boolean + <p>Saves image as 'filename'.</p></dd> +</dl> + +<h3>Data and other attributes defined here</h3> + +<dl> + <dt><strong>__new__ = <built-in method __new__ of type object></strong></dt> + <dd><p>T.__new__(S, ...) -> a new object with type S, a subtype of T</p></dd> + + <dt><strong>allTypes = <attribute 'allTypes' of 'ImageExport' objects></strong></dt> + <dd><p>Available types. Read only list of strings.</p></dd> + + <dt><strong>dpi = <member 'dpi' of 'ImageExport' objects></strong></dt> + <dd><p>This value will be used for export as DPI. Read/write integer.</p></dd> + + <dt><strong>name = <attribute 'name' of 'ImageExport' objects></strong></dt> + <dd><p>Filename of the image. With or without path. Read/write string.</p></dd> + + <dt><strong>quality = <member 'quality' of 'ImageExport' objects></strong></dt> + <dd><p>Quality/compression: minimum 1 (poor), maximum 100 (qaulity). Read/write integer.</p></dd> + + <dt><strong>scale = <member 'scale' of 'ImageExport' objects></strong></dt> + <dd><p>This is the scaling of the image. 100 = 100% etc. Read/write iteger.</p></dd> + + <dt><strong>type = <attribute 'type' of 'ImageExport' objects></strong></dt> + <dd><p>Bitmap type. See allTypes list for more info. Read/write string.</p></dd> + +</body> +</html> |
