Recent posts

#1
Beginner Talk / Re: adjust frame to image by d...
Last post by Plop - Today at 03:02:25 AM
Hello,

While I understand that this "auto frame fitting to page dimension" when dropping an image onto the canvas may be useful, there are cases where it definitely isn't - specifically when images are just ever so slightly bigger than the page on purpose, to deal with bleed.

Is there a way to disable it this auto framing altogether ? If not, an option do disable it should definitely be added. Or at the very least there should be some very clear visual indication that some frame fitting has been performed - otherwise the user will just be unaware.

Here's a practical case. Here I am importing a pre-assembled page with a specific bleed tolerance built-in. The auto framing performed on import is counter productive here, because the software cannot guess how I am intending to use this bleed (and it can even be different depending on the page being left or right). This can quickly lead to errors.

https://youtu.be/_cO0MBwvWX0

Having to perform "fit frame to image" on every imported image is just annoying, and is a step easily forgotten after not using the software for a while. I hope this makes sense.
#2
Free discussion / Re: VivaDesigner
Last post by mnawij - September 02, 2026, 08:00:04 PM
I have used it to convert inDesign files to formats that I could copy type and photos to Scribus to recreate documents or print the pdf if there were no changes from the customer.
#3
Scripts and Plugins / Re: Get the PPP informations
Last post by a.l.e - August 27, 2026, 05:57:58 PM
In the UI, you can see the actual PPI in the "context menu > Info" and in "Extras > Manage Image".

In the Scripter, there is getImagePpi() (... it's really time for an update of the docs on impagina.org...)
#4
Scripts and Plugins / Re: Get the PPP informations
Last post by BS69 - August 27, 2026, 05:10:01 PM
explained differently:

I import image one, I see A=100% and B=300x300
getImageScale respond 1.00 so the A value
in the SLA file ImageScale = "0.24"

I import image two from a different camera and I see A=100% and B=72x72
getImageScale respond 1 (100%) so the A value
in the SLA file ImageScale = "1"

So, in the SLA I got a combination % and resolution so I can count the pixels
with getImageScale I only get the A value not the B value, without a clue on value B I can't count the pixels

I assumed the B value being the DPI info from the exif, but it's not, as image 2 was DPI=314 in Exif

So, either the getImageScale should answer the same as SLA (a factor of 72 DPI) or it should answer value A as it does now but a getImagePPP procedure shoud answer the B value

Isn't it ? ;)
#5
Scripts and Plugins / Get the PPP informations
Last post by BS69 - August 27, 2026, 04:29:40 PM
Hi Guys,

Correct me if I'm wrong, there's no procedure to get the PPP informations of an imported image, like it is showed inside the image property tab or in the image manager.

Some images show 300x300 after import, some show 72x72 despite the exif resolution is 314x314 (Olympus tg7 images), well without this info I can't have the real scale factor inside a script as it is a combination of scale and resolution.


#6
General Discussion / Re: Shortcuts for paragraph st...
Last post by Malsasa - August 26, 2026, 06:21:28 AM
Did you mean F4? You can find it under menu Edit > Styles... I use Scribus 1.6.5.

Sincerely yours,

Malsasa
#7
Scripts and Plugins / Re: Importing modules into Pyt...
Last post by a.l.e - August 25, 2026, 08:02:08 PM
So three things:

  • For the update of the documentation, you can make a patch (to the .h file with the documentation) with the changes and submit it to https://bugs.scribus.net .
  • I generate and publish the (now a little outdated) documentation on impagina.org ... I will refresh it at some time in the future. Promised. The documentation is taking the content from the source code.
  • I know now why I've not published yet the script with the cool outline detection: the scripter API is missing a function that I've only my computer: time to work on a patch!
#8
Scripts and Plugins / SOLVED: copying from clipboard...
Last post by henrylaw - August 25, 2026, 01:07:23 PM
Quote from: a.l.e on August 24, 2026, 08:59:03 PMjust tested: pasteObject() does paste the content of the clipboard into a text frame that is in edit mode...

Oh, I missed that; in my defence it's under "Item" in the API docs, and also its description is "Pastes an object from the clipboard. This will be used only or most sensibly following copyObject(...)" - nothing about pasting text.  Thank you.

How would I best request an update to the API documentation? I read it at this page but it may be available in other places.
#9
Scripts and Plugins / Re: Importing modules into Pyt...
Last post by a.l.e - August 24, 2026, 08:59:03 PM
just tested: pasteObject() does paste the content of the clipboard into a text frame that is in edit mode...

... and, yes, I have /usr/lib/python3/dist-packages/requests ...
#10
Scripts and Plugins / Re: Importing modules into Pyt...
Last post by henrylaw - August 24, 2026, 08:14:04 PM
Thank you very much for weighing in to help.  My response:

1. pyperclip is installed via apt:
dpkg -L python3-pyperclip
/.
/usr
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/pyperclip
/usr/lib/python3/dist-packages/pyperclip/__init__.py
... snipped
/usr/share/doc/python3-pyperclip/copyright
"/usr/lib/python3/..." looks pretty system-wide, and yet it definitely isn't picked up by my script (see earlier posts).

2. I've scoured the scripter interface docs (Link here) and can find no function for copying and pasting.  I confess that I used the table of contents page on the LHS to select what I thought were likely sub-headings for such a function - I didn't search it all.  I'd love to just grep it but don't have a complete file.

It seems that my experience with 'pyperclip' (installed system-wide with apt) is different from yours with 'requests' (also installed system-wide with apt). But why?  Mint is Ubuntu-based and therefore Debian-based.