|
Post by PostmasterGS on Jan 3, 2014 16:36:57 GMT
For those who design their own album pages (or would like to), here's info on some software I wrote to assist in the process. Works on PC, Mac, and Linux. Latest version is here. Video demos are here (basic album building functions) and here (photo straightening function). (enlarge and switch to HD for best viewing). The PMGS Stamp Album Page Generator for Scribus v1.04Requirements -- Scribus (free here) OpenOffice (free here) or LibreOffice (free here) Fiji (free here) -- required only if using photo straightening function Java SE (free)p here) -- required only if using photo straightening function What it does and how it worksThe package includes an OpenOffice/LibreOffice spreadsheet, a couple scripts, and a couple text files necessary for it to work. The basic album-building portion allows you to populate a spreadsheet with stamp info, the use the spreadsheet to select which stamps you want to build boxes for: Then set the settings for the stamp boxes: At the click of a button, the stamp data and settings are exported to a text file. Then, in Scribus, when you execute the script, you get this: Or this: Or this: In addition, v1.04 adds some optional photo manipuation features using Fiji which automatically crop, straighten, and measure the dimensions of a stamp. The plugin will take this... and with the click of a button and a short wait, produce this... Again with the click of a button, the stamp's dimensions can be imported into the Stamp Album Page Generator Spreadsheet. And when you insert the photo into the spreadsheet, the dimensions auto-populate. So overall, it's now easier to process the scans (no more manual realigning in Photoshop) and get their dimensions (no more trying to find where I laid my ruler). There are a few limitations for which I haven't yet found a workaround (hard-coded scan resolution being the big one), but overall, a neat little addition to the package. I also need to work on the processing algorithms to make them faster and more accurate, but that's a longer term project. This is a long-term labor of love, so if you encounter any bugs or have any suggestions, don't hesitate to let me know.
|
|
Zuzu
Member
Inactive
Self-Proclaimed Black Belt in Google Fu
Posts: 768
|
Post by Zuzu on Jan 3, 2014 18:18:55 GMT
After reading your well-written post, I am certainly considering giving this a try. If I am able to, I'll download the files and spend some time with it this weekend. I do have a question about your examples. Do the faint lines around the text show up when printed (is that a setting that can be changed)? At the click of a button, the stamp data and settings are exported to a text file. Then, in Scribus, when you execute the script, you get this: A possible suggestion (keeping in mind that I haven't actually downloaded anything yet, you may have already done this or tried this): rather than warning about altering the format or changing data settings worksheet, could you lock all the other cells?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 13, 2014 5:54:59 GMT
Also for stamps album page you can check LINK REMOVED BY ADMIN
Please refrain from posting links of a commercial nature.
Staff have the right to remove any posts with direct links to commercial sites. If you wish to use this forum as a avenue for adverting your business please message admin.
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Apr 14, 2014 12:51:53 GMT
After reading your well-written post, I am certainly considering giving this a try. If I am able to, I'll download the files and spend some time with it this weekend. I do have a question about your examples. Do the faint lines around the text show up when printed (is that a setting that can be changed)? At the click of a button, the stamp data and settings are exported to a text file. Then, in Scribus, when you execute the script, you get this: A possible suggestion (keeping in mind that I haven't actually downloaded anything yet, you may have already done this or tried this): rather than warning about altering the format or changing data settings worksheet, could you lock all the other cells? Those faint lines won't print. They are there just to show you the size of the text box. Sent from my Galaxy Nexus using Tapatalk
|
|
|
Post by PostmasterGS on Mar 5, 2015 18:43:01 GMT
The PMGS Stamp Album Page Generator for Scribus v1.1 is now available. Changes from v1.041. Removed the feature allowing you to automatically crop and straighten stamp scans due to reliability/compatibility issues. 2. Added ability to set top and bottom padding independently of each other. Ditto for left and right padding. 3. Added the ability to generate single boxes for sets, both horizontal and vertical. This was a major re-write, and each additional feature increases the combinations of frame/photo/text placements exponentially. Because of this, there's no way I can manually check every combination to ensure the math is correct. If you spot something that isn't lining up as you expect is should, please let me know. Download is here (1MB zip).
|
|
|
Post by PostmasterGS on Mar 8, 2015 20:11:14 GMT
The PMGS Stamp Album Page Generator for Scribus v1.2 is now available. Download here (1MB Zip). If you just want to see the manual first, it's here. This was an almost-complete rewrite of the script. The original script was designed to do something very basic, and as a result, every additional feature led to an exponential increase in the code. More code, more potential for errors -- the v1.1 code had about 4,600 lines of code, the v1.2 has about 1,800 to accomplish the same tasks, plus some. So, I rewrote about 90% of the code to be faster and to allow for future expansion. If you note any bugs, please let me know. Changes from v1.1 1. Per request of ClassicalStamps on SCF, added ability to general Internal frames (style similar to SG New Imperial Album) 2. Fixed numerous small bugs and placement errors. Math is hard. Here's a sample of what the Internal frame style looks like compared to the full size of a stamp. The frame doesn't generate in the red color -- I changed it so it was more visible in the pic. On the page, it should look something like this. For the next version, I'm working on a couple things. Perhaps the most useful is preset styles. I'm attempting to modify the Settings spreadsheet so you can select from a list of standard frame designs. For example -- if you like boxes in the SG New Imperial style (Internal frame with simply a catalog number below the stamp), you'll be able to click a button and automatically fill the settings blanks with the proper settings. Ditto for Mystic style, etc. Mystic styleFor example, these are actual boxes from a Lighthouse page. Lighthouse sampleAnd these are from a preset designed to replicate the Lighthouse style. Lighthouse-style boxesThis should prove helpful for those who use different designs on different countries' pages. If anyone is interested in having a particular preset, you can really help me out. If you've used the script to generate a standard style, send me the settings you use and I'll see if I can include them. If you haven't used the script but you use a particular style of page, send me a high-quality scan of the stamp boxes with and without a stamp in the box (and if possible, with measurements in mm of the stamp and box so I can set the padding/margins). I can get close based on a good quality scan. As usual, comments and suggestions are appreciated.
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 8, 2015 22:08:51 GMT
Very impressive. I'll be giving it a spin tonight!
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 9, 2015 2:26:11 GMT
Jed, is there a way to change the line spacing in the stamp boxes? I'd like them set the same as the font size.
|
|
|
Post by PostmasterGS on Mar 9, 2015 6:25:27 GMT
Should be an easy addition. Let me see what I can do.
|
|
|
Post by PostmasterGS on Mar 9, 2015 12:12:08 GMT
The PMGS Stamp Album Page Generator for Scribus v1.2.1 is now available. Download here (1MB Zip). Changes from v1.2 1. Per Andy Pastuszak's request, added ability to set font spacing (single spaced, double spaced, etc.) within the text boxes
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 9, 2015 17:14:46 GMT
Wow! That was fast! Thank you!
|
|
|
Post by PostmasterGS on Mar 9, 2015 20:41:14 GMT
Slow day at work. Don't tell the U.S. taxpayer.
Let me know how it works.
|
|
|
Post by PostmasterGS on Mar 22, 2015 21:49:22 GMT
Version 1.2.3 is now available for download here. (1MB ZIP) Changes from v1.2.1.: - Added ability to save/load preset settings - Changed spreadsheet export from exporting all data sheets at once to exporting a single sheet, by selection - Added ability to hyphenate at end-of-line in text boxes - Fixed bug with font spacing in Global-style text boxes
|
|
|
Post by PostmasterGS on Feb 13, 2017 19:55:16 GMT
Version 1.2.7 uploaded here (1.5 MB ZIP). This version adds one new feature -- the ability to bulk generate boxes across multiple pages. In previous versions, all boxes would generate on the page on which you wee sitting when you ran the script in Scribus. Now, you can generate them on multiple pages within a single run. Demo video: And as always, the latest version is always available on my website.
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 9, 2017 3:11:28 GMT
This wonderful app makes my life so much easier. I just installed Scribus 1.5.2 and I'll be testing for you.
|
|
|
Post by PostmasterGS on Mar 9, 2017 11:27:41 GMT
Thanks, Andy Pastuszak . If you run into any issues with Scribus 1.5.2 just let me know. At the moment, I'm working on adding a new feature to the plugin. Currently, when you generate a set using the "Group" option, you can set a single title, date, catalog, or caption, but you're always limited to a single frame containing all the grouped issues, like this. I'm adding an option to have individual frames as well. Should make it easier to do things like this (stolen from one of Andy Pastuszak 's Ukraine pages), where there's a mix of grouped items (title and date) and not (catalog, caption, photos, and frames). It's proving to be a tough nut to crack only because I have to re-learn why I made a few design decisions along the way.
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 9, 2017 13:11:17 GMT
Thanks, Andy Pastuszak . If you run into any issues with Scribus 1.5.2 just let me know. At the moment, I'm working on adding a new feature to the plugin. Currently, when you generate a set using the "Group" option, you can set a single title, date, catalog, or caption, but you're always limited to a single frame containing all the grouped issues, like this. I'm adding an option to have individual frames as well. Should make it easier to do things like this (stolen from one of Andy Pastuszak 's Ukraine pages), where there's a mix of grouped items (title and date) and not (catalog, caption, photos, and frames). It's proving to be a tough nut to crack only because I have to re-learn why I made a few design decisions along the way. I seriously feel like you're writing this program just to suit my needs! This will be a welcome addition for me! Thanks!
|
|
|
Post by PostmasterGS on Mar 9, 2017 14:03:35 GMT
Andy Pastuszak , Funny you should say that, because it's largely true. I don't use Scribus myself (I use Adobe InDesign), so my scripting decisions are largely driven by what I see on your pages. For those who don't know the history of this little project, it started in the summer of 2012 when Andy Pastuszak posted a thread on SCF looking for a page generator that would do a specific combination -- IIRC, a box with text above and below. I stupidly said I could code something to do that. The first version was a plugin for Publisher, since that's what I used at the time and what I knew how to code for. That wasn't a great solution, however, as Publisher isn't widely used and is expensive. So, since Andy Pastuszak recommended Scribus, I taught myself Python and wrote a version for Scribus. Since then, I try to add features as they're requested (see the ability to do boxes in the style of the SG New Imperial), or more commonly, I see pages people have done and try to ID those things on the page that can be further automated. Since you're pretty much the only person I know of who is (1) using the script and (2) posts their work-product where I can see it, a lot of my design decisions are driven by the question of "what can I do to make Andy's life easier?" So, to anyone else out their using the script, feel free to post your pages or make requests. I'm always looking for new features to add. And keep making pages, Andy, so I can maintain my purpose in life.
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 9, 2017 15:33:26 GMT
I feel quite honored.
I am also quite curious who else is using the script and what they're using it for.
|
|
Ryan
Moderator
Calgary, Alberta, Canada
Posts: 2,749
What I collect: If I have a catalogue for it, I collect it. And I have many catalogues ....
|
Post by Ryan on Mar 9, 2017 22:47:36 GMT
It's proving to be a tough nut to crack only because I have to re-learn why I made a few design decisions along the way. Hmmm - that's sounds like about 90% of the computer programs I've ever written, when it comes time to look at them again a few months later .... ha ha ha Ryan
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 10, 2017 3:29:33 GMT
Tried the script out in Scribus 1.5.2 and got the following error:
Traceback (most recent call last): File "<string>", line 10, in <module> File "/home/andy/Downloads/PMGSSAPG_scribus_v1_2_7/pytSAPG_v1_2_7.py", line 1950, in <module> funcImportSettings() File "/home/andy/Downloads/PMGSSAPG_scribus_v1_2_7/pytSAPG_v1_2_7.py", line 485, in funcImportSettings funcImportBatch() File "/home/andy/Downloads/PMGSSAPG_scribus_v1_2_7/pytSAPG_v1_2_7.py", line 654, in funcImportBatch funcGenerateSingle() File "/home/andy/Downloads/PMGSSAPG_scribus_v1_2_7/pytSAPG_v1_2_7.py", line 796, in funcGenerateSingle if int(lstPageOffset[icnt]) > 0: ValueError: invalid literal for int() with base 10: 'NullField'
Is 1.5.2 using Python 3 perhaps?
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Mar 10, 2017 3:39:46 GMT
Ignore me. I got it working. Everything seems fine.
|
|
|
Post by PostmasterGS on Mar 25, 2017 23:37:50 GMT
Another major update. v1.3. This started out as a simple update to add one feature, but I ended up having to re-code the majority of the script. For this reason, some bugs or errors may have crept into it, so if you hit a problem, please let me know ASAP. Changes from v1.2.71. Changed script to prevent need for end user to manually edit filepaths in the script upon installation 2. Added ability to generate sets with each stamp having its own frame InstallationOne additional step is necessary to make presets work. Due to the addition of new options on the Settings tab, old presets no longer align properly with the settings on the Settings tab. To fix this, before using presets, go to the Presets tab and click the first button on the SAPG toolbar. This will add the new blanks to the presets on your Presets tab, making the presets once again align properly with the Settings tab. See the video. New FeaturesWatch the video linked below for details. The short version, it'll let you generate layouts like this all at once, instead of generating the separate boxes and then manually aligning them. As usual, the latest version can always be found at my website.
|
|
|
Post by PostmasterGS on Mar 29, 2017 21:40:24 GMT
In the course of adding some additional features, I discovered that the newer developmental releases of Scribus have a lot of problems with the script. If you're going to use it, make sure to download the last stable version (1.4.6) of Scribus, not the developmental versions (1.5.1 or .2) until I can get the new issues resolved.
|
|
|
Post by PostmasterGS on Mar 30, 2017 1:22:44 GMT
To give everyone an idea of what I'm working on next, this page was generated in a single run of the script -- 14 stamps in 5 rows, all centered, with face values inside the frames a la Steiner.
|
|
|
Post by PostmasterGS on Mar 30, 2017 19:56:21 GMT
Since it looks like v1.4 is going to be a while, here's an incremental update -- v1.3.5. Changes from v1.3 1. Added a fifth text field, Face Value. 2. Added a new style that's a single box with Face Value centered, a la Steiner. 3. Added limited ability to use small caps font with Face Value, a la Steiner 4. Added ability to change stack order of the text boxes, so you're no longer limited to the old hardcoded order (Title, Date, Catalog, then Caption) in which the text boxes were placed vertically. Installation Once again, an additional step is necessary to make presets work. Due to the addition of new options on the Settings tab, old presets no longer align properly with the settings on the Settings tab. To fix this, before using presets, go to the Presets tab and click the first button on the SAPG toolbar. This will add the new blanks to the presets on your Presets tab, making the presets once again align properly with the Settings tab. You'll also need to manually re-set Row 3 of your presets after the update. See the video.
|
|
|
Post by PostmasterGS on May 11, 2017 15:17:21 GMT
I had some users who were trying to duplicate Steiner pages, but needed a little walkthrough. So, I made another video. If you'd like to use the script to make Steiner-like pages, check it out.
|
|
|
Post by PostmasterGS on Jun 23, 2018 21:12:56 GMT
A new update today -- v1.4.5. This version gives you the ability to generate a muti-row, multi-column set layout in one run, like this: Video demo: Also, in the past, the script could only be used with v1.4.x of Scribus, as the v1.5.x releases had some showstopping bugs. It appears as if most of those have been fixed as of Scribus v1.5.4. I haven't fully tested it since I don't use Scribus that much, but feel free to give it a try. Any problems or questions, don't hesitate to ask.
|
|
brightonpete
Departed
Rest in Peace
On a hike at Goodrich-Loomis
Posts: 5,110
|
Post by brightonpete on Jun 24, 2018 1:14:49 GMT
I had read about Scribus and your app, but just thought it was for the PC kind of computer. I just realized it'll work on a Mac as well. So I downloaded everything, and will give it a whirl. Looks like a lot of work to get it done though. I'll muddle through checking it out eventually! Winter is just around the corner, isn't it?
|
|
Andy Pastuszak
Member
Praying for my family and everyone in Ukraine.
Posts: 1,591
What I collect: United States, Ukraine, Ireland
|
Post by Andy Pastuszak on Jul 11, 2018 16:33:16 GMT
I used to do it all by hand and it took a long time. With this tool, most of my time is spent aligning boxes and making things straight. It's easily cut my page layout time down by 50%-75%.
Stamp description research is still a bulk of the time. I speak Ukrainian fluently, but I read it at a snails pace. Translating from the Ukrainian Wikipedia is a slow process at times.
|
|