0 votes
23 views
When we insert a figure in Paratext, it automatically creates a .jpg version of the image and puts it in the shared folder so other team members get it via send/receive. I am changing a large number of our figures by replacing one figure with another using a Python script. I am also inserting some new pictures using the same method. This is faster when I have to make a lot of changes all at once, but I'm not triggering the mechanism in Paratext that creates that.jpg file for sharing. I wonder if there's a way to force it to do that.
Thanks for any help you can give me on this.
John Nystrom
Paratext by (312 points) | 23 views

1 Answer

0 votes

Assuming you mean the figures folder instead of the shared folder, the JPG files get created as part of the insertion process so there isn't a way to trigger the creation of those files. However, Python should be able to create JPG versions of your images. You can create the files inside the figures folder as part of your script - the name just has to exactly match (but with the .jpg extension). The images should be scaled to a max of 400x400 pixels to be similar to what Paratext does, but this isn't required - it's just to keep the size smaller for S/R. 

Paratext should automatically add the images to the project during your next S/R.

by [Expert]
(16.7k points)
This is included now in our script. Thanks!

Related questions

0 votes
2 answers 37 views
I am working with Claude Cowork trying to build a figure-insertion workflow for Paratext using Python scripts and Excel ... it from Excel? All wild ideas welcome. John Nystrom
john_nystrom 312 asked Jun 25
0 votes
1 answer 64 views
When I change to view mode in the Bible module, the picture/figure displays correctly but when I try to export to RTF or through PTXPrint the figures don't show up.
Roger Stone 107 asked Aug 6
0 votes
1 answer 56 views
Psalms is such a large book, how can I limit the search to just a certain block of chapters? On the main dialog I either have to search the entire book or the current chapter.
Phil_Leckrone 9.9k asked Jan 30, 2025
0 votes
1 answer 776 views
How can I delete a project in registry.paratext.org that is no longer needed?
dcb 194 asked Mar 28, 2024
0 votes
1 answer 199 views
Is there a way to view the SFM output of dblchanges.txt, or is viewing the XML files in a DBL export the only way to ... a changes.txt within a PTXprint job, but that's a hassle.
LivingField 607 asked Jun 5, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,045 questions
6,005 answers
5,671 comments
2,026 users