GenevensiS
76af996f0a
tweaks
...
allow import_image to accept script images
import_image and download_image no longer save the set or require it to have been saved once
console panel now tries to output toJson() before falling back to toCode()
2026-05-14 13:50:02 +02:00
GenevensiS
f4fe9ab6b0
Strengthen paste logic
2026-05-11 13:51:43 +02:00
GenevensiS
0baa73ae7d
fix bugs
...
- dimensions_of should now work in all contexts
- import_image now works in style files, although should be avoided, since it reloads the file every time the code in run, it should be used in one shot scripts, like import scripts and bulk modification scripts
- process_english_hints now correctly processes <singular> and <plural> tags
2026-04-24 13:18:40 +02:00
GenevensiS
fa3f2e950d
add 'fill_image' script function, rename 'offset' combine mode to 'lightmap'
2026-04-12 07:30:11 +02:00
GenevensiS
d49cfda407
add brighten_image script function, 'average' and 'offset' combine modes
2026-04-11 04:51:59 +02:00
GenevensiS
bb4e8c558e
fix compile
2026-04-01 14:36:57 +02:00
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
8afd412021
add 'add_stroke_effect' script function
2026-01-14 11:48:17 +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
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
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
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
Brendan Hagan
0b22b17153
feat: initial implementation for to_card_image() function ( closes #33 )
2022-08-13 23:53:29 -04: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
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
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
Lymia Aluysia
76cf6fc0d6
Suppress libpng errors.
2017-01-18 09:14:17 -06:00
Lymia Aluysia
1d912a6853
Update copyright strings.
2017-01-18 08:52:57 -06:00
Lymia Aluysia
d2c635f739
Change tabs to two spaces.
2017-01-18 08:43:21 -06:00
twanvl
968f557511
recolor_image function can now be used with custom colors
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1477 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:44:44 +00:00
twanvl
e01b24aa63
Added 'recolor_image' function
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1473 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:05 +00:00
twanvl
ca0e762b64
New image functions:
...
* invert
* flip_horizontal
* flip_vertical
* rotate
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1472 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:56:45 +00:00
twanvl
66bf7c8521
Fix #10 : Use of saturate function almost always causes a crash.
...
saturate: fix possible division by 0
SaturateImage: fix: had two 'image' members, one inherited, one nullptr, which caused a crash
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1458 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-22 00:29:35 +00:00
coppro
cf91f9c43b
Update copryright date to 2010.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro
b73f081b60
Updated copyright information (2009 + my real name)
...
MSE now handles opening more gracefully - can handle directories and failures
Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-19 03:09:05 +00:00
twanvl
b5bdaedde2
Fixed conversion from Values to other types: Values now report being of the contained type.
...
Added toImage function to ScriptValue.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1083 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 16:26:33 +00:00
twanvl
2662f9d4bf
Optimize default arguments (@ operator) into script rules.
...
The plan is to deprecate rule form completely, so instead of replace_rule(match:..) write replace_text@(match: ...)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@987 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 19:25:18 +00:00
twanvl
902a85f113
Allow symbol_variation script function to load images from the stylesheet by filename
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@977 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-05 20:36:20 +00:00
coppro
26562e03e3
Updated copyright information - added my name and also changed 2007 to 2008
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@837 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-06 18:16:32 +00:00
coppro
e6f466933d
More warnings/minor fixes
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@836 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-04-06 18:08:32 +00:00
twanvl
5fc06663b1
Added icon for MSE in packages window;
...
Added resample(image,width,height), instead of always passing in images
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@806 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 23:48:26 +00:00
twanvl
796975bd9d
Added saturate script function (+documentation), it also desaturates
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@800 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 00:48:39 +00:00