Post#1 by tim » 13 Jun 2018, 00:04

playing_card.zip zipped .py file (unzip, put in your GIMP's /plug-ins/ folder) Tested in GIMP 2.10 only. (2.98 KiB) Downloaded 214 times

playing_card(2).zip version 2. JOKER card added. JOKER card has no suit but suit is used to determine color (red/black) (3.15 KiB) Downloaded 114 times

playing_card(3).zip version 3. GIMP 2.8 and GIMP 2.10 Compatible. (3.15 KiB) Downloaded 110 times

playing_card(4).zip version 4. Added Finalize toggle which merges, resizes and drop shadow. (GIMP 2.8 & 2.10) (3.35 KiB) Downloaded 94 times

playing_card(5).zip version 5. Allow "CUSTOM" card with custom text (GIMP 2.8 & 2.10) (3.5 KiB) Downloaded 122 times

playing_card(6).zip version 6. Allow "Diagonal Symmetry Blend" option. (GIMP 2.8 & 2.10) (3.77 KiB) Downloaded 144 times

playing_card(7).zip version 7. Solve blend bug in 2.10 by detecting gimp version and execute code for that version (GIMP 2.8 & 2.10) (3.97 KiB) Downloaded 346 times

Python-Fu/Playing Card...

playing_card_script_options.jpg (30.84 KiB) Viewed 3612 times

Python-Fu/Playing Card...

playing_card_before_script.jpg (96.49 KiB) Viewed 3612 times

playing_card_after_script.png (666.22 KiB) Viewed 3612 times

playing_card_after_script_resized_and_added_drop_shadow.png (78.43 KiB) Viewed 3611 times

version 2 JOKER cards available playing_card_jokers_card_added.png (97.44 KiB) Viewed 3596 times

With finalize step applied in version 4 of script playing_card_with_finalize_step.png (89.83 KiB) Viewed 3496 times

custom card playing_card_custom.png (97.83 KiB) Viewed 3484 times

with Diagonal Symmetry Blend playing_card_diagonal_symmetry_blend.png (90.72 KiB) Viewed 3478 times

This script will create a playing card (any card out of the deck) with your active layer/image.Script Menu Location:Script Options:Instructions:1. Open your image that you'd like to make a playing card out of.2. (Optional but it'll make your card look nicer). Crop/Resize your image to have dimension of 688x1116. See How to select a rectangle are with a certain aspect ratio to select a rectangle with the same ratio as 688x1116 before you crop to selection to have a nicely prepared image before running script.3. Run script (). Select your card value, select suit of card and select font. Click "OK".4. That's it it'll create a playing card based on your settings.Sample run:Video of script usage: