Difference between revisions of "Scripter/Images"

From Scribus Wiki
Jump to: navigation, search
(Import an image in the way office-programs do)
Line 5: Line 5:
 
I'll try to start with simple scripts first, then go to more complicated or perhaps esoteric ones down the page.
 
I'll try to start with simple scripts first, then go to more complicated or perhaps esoteric ones down the page.
 
== [[Import an image in the way office-programs do]]==
 
== [[Import an image in the way office-programs do]]==
 +
This script does the simple task of taking an image file and making a standard image frame and loading it onto a page. In a modified state, it is one of the scripts included with Scribus, DirectImageImport.py.
 +
 +
== [[Image Wizard: Scale and Align an Image]]==
  
 
* [[Align an Image in its Frame]]
 
* [[Align an Image in its Frame]]
Line 10: Line 13:
 
* [[Automatic import of images: Versions not requiring Tkinter]]
 
* [[Automatic import of images: Versions not requiring Tkinter]]
 
* [[Image crop, resize and CMYK conversion. Save and reload in TIFF format]]
 
* [[Image crop, resize and CMYK conversion. Save and reload in TIFF format]]
* [[Image Wizard: Scale and Align an Image]]
 
 
* [[Making a photobook from a directory of images using a script]]
 
* [[Making a photobook from a directory of images using a script]]
 
* [[Scale an Image to Fill a Frame Proportionally]]
 
* [[Scale an Image to Fill a Frame Proportionally]]
 
* [[Split Image Across Gutter]]
 
* [[Split Image Across Gutter]]

Revision as of 14:11, 4 November 2016

This article is part of the Scripts series.

I decided to beef up this page a bit, since we get a number of questions about whether a script can be written for some task or other, and one quickly realizes that it takes some time to find all the scripts that deal with such a task. What people really need is a quick survey of what's out there, so that they can either modify some existing script themselves, or be able to ask for help with the modification for their particular needs.

I'll try to start with simple scripts first, then go to more complicated or perhaps esoteric ones down the page.

Import an image in the way office-programs do

This script does the simple task of taking an image file and making a standard image frame and loading it onto a page. In a modified state, it is one of the scripts included with Scribus, DirectImageImport.py.

Image Wizard: Scale and Align an Image