Commit Graph

146 Commits

Author SHA1 Message Date
GenevensiS 46414307fd update checker 2026-02-15 14:17:56 +01:00
GenevensiS 6b1c7488bf ensure image script functions preserve metadata 2026-01-25 15:06:48 +01:00
GenevensiS ab4d79a686 prevent crash in crop_image function 2026-01-19 17:21:42 +01:00
GenevensiS ef835e6f46 rename script functions 2026-01-19 16:46:54 +01:00
GenevensiS d421d0d92b refactor image/crop encoding 2026-01-19 08:59:10 +01:00
GenevensiS 28d5993fe6 improve to_json(StyleP) 2026-01-17 07:55:34 +01:00
GenevensiS 8afd412021 add 'add_stroke_effect' script function 2026-01-14 11:48:17 +01:00
GenevensiS 68d6da3133 skip image initialization 2026-01-13 12:18:08 +01:00
GenevensiS 6ca8abae1a add stroke text, stretch symbols 2026-01-13 11:20:28 +01:00
GenevensiS 21ea45c9c5 add error messages to bulk modification 2026-01-07 02:41:57 +01:00
GenevensiS fbf2023848 convert to CRLF line endings 2026-01-05 01:01:18 +01:00
GenevensiS 6a1d23efc7 add bleed margin in print menu 2025-12-31 04:44:52 +01:00
GenevensiS 436c437189 add compiler directives
add compiler directives
2025-12-30 01:18:04 +01:00
GenevensiS 5c1b7b9dfc add download_image, refactor import_image 2025-12-28 13:59:23 +01:00
GenevensiS f03dfafc3e Update generated_image.cpp 2025-12-17 08:34:04 +01:00
GenevensiS 80a7dccdf1 improve bleed edge 2025-12-17 08:16:11 +01:00
GenevensiS 66016f381c rewrite image caching logic 2025-12-14 05:33:31 +01:00
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
GenevensiS cf0a84a8a7 Card data in images (minimum viable)
* remove wxEmptyString

* improve style tab carousel

* create web request window

* add drop target and drop source
2025-11-28 10:42:30 +01:00
GenevensiS 3bf9de18b1 Implement unique IDs and card linking 2025-08-11 16:17:13 +02:00
GenevensiS 0e4c91b940 add insert_image and add_bleed_edge functions 2025-07-14 01:23:26 +02:00
GenevensiS 66fe43c499 add "silver" and "gold" color words 2025-06-13 00:35:33 +02:00
GenevensiS f227609f60 Merge pull request #36 from TomTkacz/master
implemented import_image function
2025-04-13 14:43:15 +02:00
GenevensiS 1a3940c16d localization pattern 2025-04-11 03:25:21 +02:00
TomTkacz 06f94bb502 fixed duplicate set writing bug + enforced unicode strings 2025-03-11 03:24:31 -05:00
TomTkacz f9aa4f9577 fixed import_image not generating in CLI 2025-03-10 20:34:23 -05:00
TomTkacz fa25da3d39 implemented import_image function 2025-03-10 04:33:42 -05:00
GenevensiS fa15206ba5 Add resize_image script function 2024-10-03 17:51:49 +02:00
GenevensiS 59a184e2b2 revert combine_blend changes 2024-09-22 16:51:23 +02:00
GenevensiS db2f1de966 Merge pull request #15 from G-e-n-e-v-e-n-s-i-S/combine-blend-alpha
Update combine_image.cpp
2024-09-17 10:26:50 +02:00
GenevensiS 488e54fed2 Update combine_image.cpp 2024-09-17 10:22:54 +02:00
GenevensiS 4605372a6a Merge pull request #14 from G-e-n-e-v-e-n-s-i-S/combine-blend-alpha
make combine_blend function blend alpha channels as well
2024-09-17 10:09:22 +02:00
GenevensiS c956901a37 make combine_blend function blend alpha channels as well 2024-09-17 10:01:21 +02:00
GenevensiS 14d357d69f add brightness combine_blend modes 2024-09-13 04:09:03 +02:00
Brendan Hagan bd875779f5 fix: update blend functions to respect alpha channel (fixes #82) (#83)
* fix: update linear_blend to respect alpha channel

* fix: update masked_blend to respect alpha channel

Unclear if this is the right implementation.

* misc: remove unnecessary fixed declaration

* misc: update mask_blend

* update changes.md

* misc: fix typo in changes.md
2024-08-23 19:49:56 -04:00
Brendan Hagan 0b22b17153 feat: initial implementation for to_card_image() function (closes #33) 2022-08-13 23:53:29 -04:00
Twan van Laarhoven 6d4d973645 Add support for HTML style hex colors, #ff0000 = red, etc. 2020-05-12 22:48:56 +02:00
Twan van Laarhoven 0c3712b61a Cleanup: indentation of public/protected/private keywords 2020-05-12 21:57:37 +02:00
Twan van Laarhoven 62a0aea3b8 Added some assertions 2020-05-11 00:31:42 +02:00
Twan van Laarhoven e005d47d56 Use std::enable_shared_from_this instead of thisP parameters. 2020-05-06 22:59:10 +02:00
Twan van Laarhoven a1d54f36fc Use LocalFileName class for file names inside a package. 2020-04-30 00:20:32 +02:00
Twan van Laarhoven af7e8c9d39 Switch (back) to our own Color type instead of using wxColour.
The reason is that wxColour's default constructor creates an invalid color (what is that even?). It is nicer to just have default be transparent.
2020-04-26 21:41:35 +02:00
Twan van Laarhoven 8698144ac4 Warn about parse errors in colors 2020-04-26 17:40:22 +02:00
Twan van Laarhoven 2e897edbbf Use toSomeType() instead of operator SomeType in ScriptValue.
This means that we are more explicit about type conversions.
Also use override specifiers for overriden virtual functions in ScriptValue.
2020-04-26 17:03:43 +02:00
Twan van Laarhoven 54a3cbfde3 Replace include guards by #pragma once 2020-04-26 01:25:16 +02:00
Twan van Laarhoven bad9981ad9 Cleaned up copyright block.
Removed the year so we don't get tempted to change this ever again.
2020-04-26 01:11:14 +02:00
Twan van Laarhoven 5e92d9455c Code cleanup: remove messy spaces before line continuation (\) in macros 2020-04-26 00:37:13 +02:00
Twan van Laarhoven 64ea1d7322 Clean up pointer use:
* Use unique_ptr for Actions instead of manual memory management
 * Use unique_ptr in KeywordDatabase
 * Use unique_ptr instead of shared_ptr for file formats
 * Don't pass shared_ptr to Reader/Writer, use references instead
Also
 * Switch to C++17 so we can use map::try_emplace
2020-04-25 22:20:51 +02:00
Twan van Laarhoven 815df01ba5 Don't throw internal errors when built_in_image script function fails to find an image 2020-04-25 22:20:50 +02:00
Twan van Laarhoven 4258ce1c6c Remove AColor class, because wxColour now supports alpha values. 2020-04-25 22:20:50 +02:00