同时修改scribus中的多个图像帧(Simultaneously modify multiple image frames in scribus)

编程入门 行业动态 更新时间:2024-10-26 19:32:05
同时修改scribus中的多个图像帧(Simultaneously modify multiple image frames in scribus)

我正在用scribus创建一个类似目录的书。 它有人的名字,地址和图像。

我可以创建文本框架并为它们分配段落样式(例如:地址)。 只要我确保所有地址共享相同的段落样式,就可以一次性修改它们。

图像框架有类似的东西吗? 我创建了具有特定高度和宽度的它们,并希望将它们更改为另一个。

注意:这是一个关于scribus的问题,但由于scribus还不是一个允许的标签,我将其标记为PDF

I am creating a directory-like book with scribus. It has people's names, addresses and images.

I can create text-frames and assign them a paragraph style (ex: address). And as long as I ensure that all addresses share the same paragraph style, it is easy to modify them all at one go.

Is something similar possible with image frames? I created them with a particular height and width and want to change them to another.

NOTE: This is a question about scribus but since scribus is not yet an allowed tag, am tagging it as PDF

最满意答案

使用在Scribus内部运行的小型Python脚本是可能的。

你可以浏览所有图像帧和

检查它们的宽度和高度,看它们是否与“主”相匹配并改变它们,或者 将框架的名称设置为以特定字符串开头,并将其与模式匹配。

你可以从这个脚本中获得灵感

https://github.com/aoloe/scribus-script-repository/tree/master/sync-matching-text-frame

这为1.4引入了穷人的“模式”。

如果您没有Python技能,我可以帮助您完成脚本。 (我将为它准备一份草稿并让你调试它: - )

并且,关于#scribus标签: https ://graphicdesign.stackexchange.com/中有一个...

It's possible with a small Python script that runs inside of Scribus.

You can go through all image frames and

check for their width and height to see if they match the "master" one and change them, or set the frame's name to start with a specific string and match it with a pattern.

You can get some inspiration from this script

https://github.com/aoloe/scribus-script-repository/tree/master/sync-matching-text-frame

that introduces a poor man's "patterns" for 1.4.

If you have no Python skills, I can help you with the script. (I will prepare a draft for it and let you debug it : - )

And, concerning the #scribus tag: there is one in https://graphicdesign.stackexchange.com/ ...

更多推荐

本文发布于:2023-07-26 05:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1271369.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   图像   Simultaneously   scribus   image

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!