[scribus] scribus Digest, Vol 76, Issue 30

Gregory Pittman gpittman at iglou.com
Mon Jul 28 15:03:14 UTC 2014


On 07/28/2014 09:47 AM, Gimp-Werkstatt wrote:
> 
> Am 28.07.2014 um 11:45 schrieb scribus-request at lists.scribus.net:
> 
>>> 2. Is there a function within Scribus, where I could pre-set the size of
>>> >an image in ppi. Background to this question is, that I work with lots
>>> >of screen-shots in my documents. So I have to scale every single one on
>>> >the right ppi size. It would make life a lot easier for me, if Scribus
>>> >could do that for me.
>>> >
>> Go to File > Preferences > Item Tools > Images (tab), where you can set
>> defaults to Free Scaling at some resolution/ppi or Scale Image to Frame.
>> auf Deutsch, Datei > Allgemeine Einstellungen > Objektwerkzeuge >
>> Bilder. (I wonder who came up with these mile-long translations?)
>>
> Thanks Greg,
> I knew this one, but I can only set a preset in percent, not in ppi.
> 
> If I make a screenshot for example with the Ubuntu pressing alt+print, I
> get a solution of 300 ppi if I do a screenshot with gimp, it has a
> solution of 96 ppi. When I make a screenshot on windows, its on Gimp 72
> ppi and alt print 96 ppi. So it varies a lot and a preset of ppi would
> be great to have.

You could easily make some very brief python scripts that "fix" the
scaling. setImageScale() also uses percent, but you should be able to
figure out the percent you need to get a certain ppi depending on the
source.
Perhaps some input from the PIL (Python Imaging Library) might even
detect the resolution of the source and automagically do the calculation
for you.

Greg




More information about the scribus mailing list