Mengasumsikan yang Anda maksud adalah folder figures bukan folder shared, file JPG dibuat sebagai bagian dari proses penyisipan sehingga tidak ada cara untuk memicu pembuatan file-file tersebut. Namun, Python seharusnya mampu membuat versi JPG dari gambar Anda. Anda dapat membuat file di dalam folder figures sebagai bagian dari skrip Anda - namanya harus persis sama (tetapi dengan ekstensi .jpg). Gambar sebaiknya diskalakan hingga maksimal 400x400 piksel agar mirip dengan yang dilakukan Paratext, tetapi ini tidak wajib - ini hanya untuk menjaga ukuran tetap kecil untuk S/R.
Paratext seharusnya secara otomatis menambahkan gambar ke proyek Anda selama S/R berikutnya.
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.
Diterjemahkan secara otomatis dari English