diff --git a/img/frames/etched/regular/a.png b/img/frames/etched/regular/a.png new file mode 100644 index 00000000..000b56e5 Binary files /dev/null and b/img/frames/etched/regular/a.png differ diff --git a/img/frames/etched/regular/aThumb.png b/img/frames/etched/regular/aThumb.png new file mode 100644 index 00000000..4742b5f4 Binary files /dev/null and b/img/frames/etched/regular/aThumb.png differ diff --git a/img/frames/etched/regular/b.png b/img/frames/etched/regular/b.png new file mode 100644 index 00000000..2c623520 Binary files /dev/null and b/img/frames/etched/regular/b.png differ diff --git a/img/frames/etched/regular/bThumb.png b/img/frames/etched/regular/bThumb.png new file mode 100644 index 00000000..1fb9dc64 Binary files /dev/null and b/img/frames/etched/regular/bThumb.png differ diff --git a/img/frames/etched/regular/border.svg b/img/frames/etched/regular/border.svg new file mode 100644 index 00000000..f0e12aaf --- /dev/null +++ b/img/frames/etched/regular/border.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/img/frames/etched/regular/borderThumb.png b/img/frames/etched/regular/borderThumb.png new file mode 100644 index 00000000..90e96237 Binary files /dev/null and b/img/frames/etched/regular/borderThumb.png differ diff --git a/img/frames/etched/regular/crowns/a.png b/img/frames/etched/regular/crowns/a.png new file mode 100644 index 00000000..73780624 Binary files /dev/null and b/img/frames/etched/regular/crowns/a.png differ diff --git a/img/frames/etched/regular/crowns/aThumb.png b/img/frames/etched/regular/crowns/aThumb.png new file mode 100644 index 00000000..49cbe7d5 Binary files /dev/null and b/img/frames/etched/regular/crowns/aThumb.png differ diff --git a/img/frames/etched/regular/crowns/b.png b/img/frames/etched/regular/crowns/b.png new file mode 100644 index 00000000..59ee977c Binary files /dev/null and b/img/frames/etched/regular/crowns/b.png differ diff --git a/img/frames/etched/regular/crowns/bThumb.png b/img/frames/etched/regular/crowns/bThumb.png new file mode 100644 index 00000000..c68e560c Binary files /dev/null and b/img/frames/etched/regular/crowns/bThumb.png differ diff --git a/img/frames/etched/regular/crowns/cover.svg b/img/frames/etched/regular/crowns/cover.svg new file mode 100644 index 00000000..c337faa0 --- /dev/null +++ b/img/frames/etched/regular/crowns/cover.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/img/frames/etched/regular/crowns/coverThumb.png b/img/frames/etched/regular/crowns/coverThumb.png new file mode 100644 index 00000000..bd8ce544 Binary files /dev/null and b/img/frames/etched/regular/crowns/coverThumb.png differ diff --git a/img/frames/etched/regular/crowns/g.png b/img/frames/etched/regular/crowns/g.png new file mode 100644 index 00000000..9d3f68e6 Binary files /dev/null and b/img/frames/etched/regular/crowns/g.png differ diff --git a/img/frames/etched/regular/crowns/gThumb.png b/img/frames/etched/regular/crowns/gThumb.png new file mode 100644 index 00000000..a7023eae Binary files /dev/null and b/img/frames/etched/regular/crowns/gThumb.png differ diff --git a/img/frames/etched/regular/crowns/m.png b/img/frames/etched/regular/crowns/m.png new file mode 100644 index 00000000..a033405c Binary files /dev/null and b/img/frames/etched/regular/crowns/m.png differ diff --git a/img/frames/etched/regular/crowns/mThumb.png b/img/frames/etched/regular/crowns/mThumb.png new file mode 100644 index 00000000..2e4602c5 Binary files /dev/null and b/img/frames/etched/regular/crowns/mThumb.png differ diff --git a/img/frames/etched/regular/crowns/r.png b/img/frames/etched/regular/crowns/r.png new file mode 100644 index 00000000..dc7917a8 Binary files /dev/null and b/img/frames/etched/regular/crowns/r.png differ diff --git a/img/frames/etched/regular/crowns/rThumb.png b/img/frames/etched/regular/crowns/rThumb.png new file mode 100644 index 00000000..942fa86e Binary files /dev/null and b/img/frames/etched/regular/crowns/rThumb.png differ diff --git a/img/frames/etched/regular/crowns/u.png b/img/frames/etched/regular/crowns/u.png new file mode 100644 index 00000000..b380e567 Binary files /dev/null and b/img/frames/etched/regular/crowns/u.png differ diff --git a/img/frames/etched/regular/crowns/uThumb.png b/img/frames/etched/regular/crowns/uThumb.png new file mode 100644 index 00000000..6f5ff248 Binary files /dev/null and b/img/frames/etched/regular/crowns/uThumb.png differ diff --git a/img/frames/etched/regular/crowns/w.png b/img/frames/etched/regular/crowns/w.png new file mode 100644 index 00000000..1e202c9b Binary files /dev/null and b/img/frames/etched/regular/crowns/w.png differ diff --git a/img/frames/etched/regular/crowns/wThumb.png b/img/frames/etched/regular/crowns/wThumb.png new file mode 100644 index 00000000..3465a5b2 Binary files /dev/null and b/img/frames/etched/regular/crowns/wThumb.png differ diff --git a/img/frames/etched/regular/frame.svg b/img/frames/etched/regular/frame.svg new file mode 100644 index 00000000..d5387471 --- /dev/null +++ b/img/frames/etched/regular/frame.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/img/frames/etched/regular/frameThumb.png b/img/frames/etched/regular/frameThumb.png new file mode 100644 index 00000000..3db0d80b Binary files /dev/null and b/img/frames/etched/regular/frameThumb.png differ diff --git a/img/frames/etched/regular/g.png b/img/frames/etched/regular/g.png new file mode 100644 index 00000000..75bef307 Binary files /dev/null and b/img/frames/etched/regular/g.png differ diff --git a/img/frames/etched/regular/gThumb.png b/img/frames/etched/regular/gThumb.png new file mode 100644 index 00000000..77132f5b Binary files /dev/null and b/img/frames/etched/regular/gThumb.png differ diff --git a/img/frames/etched/regular/holo/a.png b/img/frames/etched/regular/holo/a.png new file mode 100644 index 00000000..18c23908 Binary files /dev/null and b/img/frames/etched/regular/holo/a.png differ diff --git a/img/frames/etched/regular/holo/aThumb.png b/img/frames/etched/regular/holo/aThumb.png new file mode 100644 index 00000000..801280ce Binary files /dev/null and b/img/frames/etched/regular/holo/aThumb.png differ diff --git a/img/frames/etched/regular/holo/b.png b/img/frames/etched/regular/holo/b.png new file mode 100644 index 00000000..ed64703a Binary files /dev/null and b/img/frames/etched/regular/holo/b.png differ diff --git a/img/frames/etched/regular/holo/bThumb.png b/img/frames/etched/regular/holo/bThumb.png new file mode 100644 index 00000000..f65f1c1f Binary files /dev/null and b/img/frames/etched/regular/holo/bThumb.png differ diff --git a/img/frames/etched/regular/holo/g.png b/img/frames/etched/regular/holo/g.png new file mode 100644 index 00000000..33f37d87 Binary files /dev/null and b/img/frames/etched/regular/holo/g.png differ diff --git a/img/frames/etched/regular/holo/gThumb.png b/img/frames/etched/regular/holo/gThumb.png new file mode 100644 index 00000000..cd5e07a6 Binary files /dev/null and b/img/frames/etched/regular/holo/gThumb.png differ diff --git a/img/frames/etched/regular/holo/m.png b/img/frames/etched/regular/holo/m.png new file mode 100644 index 00000000..38f4649d Binary files /dev/null and b/img/frames/etched/regular/holo/m.png differ diff --git a/img/frames/etched/regular/holo/mThumb.png b/img/frames/etched/regular/holo/mThumb.png new file mode 100644 index 00000000..ecddf52f Binary files /dev/null and b/img/frames/etched/regular/holo/mThumb.png differ diff --git a/img/frames/etched/regular/holo/r.png b/img/frames/etched/regular/holo/r.png new file mode 100644 index 00000000..d8e451a1 Binary files /dev/null and b/img/frames/etched/regular/holo/r.png differ diff --git a/img/frames/etched/regular/holo/rThumb.png b/img/frames/etched/regular/holo/rThumb.png new file mode 100644 index 00000000..cb55c2c9 Binary files /dev/null and b/img/frames/etched/regular/holo/rThumb.png differ diff --git a/img/frames/etched/regular/holo/u.png b/img/frames/etched/regular/holo/u.png new file mode 100644 index 00000000..634293d7 Binary files /dev/null and b/img/frames/etched/regular/holo/u.png differ diff --git a/img/frames/etched/regular/holo/uThumb.png b/img/frames/etched/regular/holo/uThumb.png new file mode 100644 index 00000000..cd795f7d Binary files /dev/null and b/img/frames/etched/regular/holo/uThumb.png differ diff --git a/img/frames/etched/regular/holo/w.png b/img/frames/etched/regular/holo/w.png new file mode 100644 index 00000000..1c7ad872 Binary files /dev/null and b/img/frames/etched/regular/holo/w.png differ diff --git a/img/frames/etched/regular/holo/wThumb.png b/img/frames/etched/regular/holo/wThumb.png new file mode 100644 index 00000000..1d450f1c Binary files /dev/null and b/img/frames/etched/regular/holo/wThumb.png differ diff --git a/img/frames/etched/regular/m.png b/img/frames/etched/regular/m.png new file mode 100644 index 00000000..43328689 Binary files /dev/null and b/img/frames/etched/regular/m.png differ diff --git a/img/frames/etched/regular/mThumb.png b/img/frames/etched/regular/mThumb.png new file mode 100644 index 00000000..b08ae99f Binary files /dev/null and b/img/frames/etched/regular/mThumb.png differ diff --git a/img/frames/etched/regular/pt/a.png b/img/frames/etched/regular/pt/a.png new file mode 100644 index 00000000..47b159d6 Binary files /dev/null and b/img/frames/etched/regular/pt/a.png differ diff --git a/img/frames/etched/regular/pt/aThumb.png b/img/frames/etched/regular/pt/aThumb.png new file mode 100644 index 00000000..619aecd6 Binary files /dev/null and b/img/frames/etched/regular/pt/aThumb.png differ diff --git a/img/frames/etched/regular/pt/b.png b/img/frames/etched/regular/pt/b.png new file mode 100644 index 00000000..299aebd9 Binary files /dev/null and b/img/frames/etched/regular/pt/b.png differ diff --git a/img/frames/etched/regular/pt/bThumb.png b/img/frames/etched/regular/pt/bThumb.png new file mode 100644 index 00000000..713eb85d Binary files /dev/null and b/img/frames/etched/regular/pt/bThumb.png differ diff --git a/img/frames/etched/regular/pt/c.png b/img/frames/etched/regular/pt/c.png new file mode 100644 index 00000000..8a83b7e7 Binary files /dev/null and b/img/frames/etched/regular/pt/c.png differ diff --git a/img/frames/etched/regular/pt/cThumb.png b/img/frames/etched/regular/pt/cThumb.png new file mode 100644 index 00000000..b97a46c7 Binary files /dev/null and b/img/frames/etched/regular/pt/cThumb.png differ diff --git a/img/frames/etched/regular/pt/g.png b/img/frames/etched/regular/pt/g.png new file mode 100644 index 00000000..1bd7cdce Binary files /dev/null and b/img/frames/etched/regular/pt/g.png differ diff --git a/img/frames/etched/regular/pt/gThumb.png b/img/frames/etched/regular/pt/gThumb.png new file mode 100644 index 00000000..986b30d2 Binary files /dev/null and b/img/frames/etched/regular/pt/gThumb.png differ diff --git a/img/frames/etched/regular/pt/m.png b/img/frames/etched/regular/pt/m.png new file mode 100644 index 00000000..bdced70a Binary files /dev/null and b/img/frames/etched/regular/pt/m.png differ diff --git a/img/frames/etched/regular/pt/mThumb.png b/img/frames/etched/regular/pt/mThumb.png new file mode 100644 index 00000000..cec28980 Binary files /dev/null and b/img/frames/etched/regular/pt/mThumb.png differ diff --git a/img/frames/etched/regular/pt/r.png b/img/frames/etched/regular/pt/r.png new file mode 100644 index 00000000..084b693b Binary files /dev/null and b/img/frames/etched/regular/pt/r.png differ diff --git a/img/frames/etched/regular/pt/rThumb.png b/img/frames/etched/regular/pt/rThumb.png new file mode 100644 index 00000000..3b969222 Binary files /dev/null and b/img/frames/etched/regular/pt/rThumb.png differ diff --git a/img/frames/etched/regular/pt/u.png b/img/frames/etched/regular/pt/u.png new file mode 100644 index 00000000..b4289180 Binary files /dev/null and b/img/frames/etched/regular/pt/u.png differ diff --git a/img/frames/etched/regular/pt/uThumb.png b/img/frames/etched/regular/pt/uThumb.png new file mode 100644 index 00000000..89fc0d1a Binary files /dev/null and b/img/frames/etched/regular/pt/uThumb.png differ diff --git a/img/frames/etched/regular/pt/w.png b/img/frames/etched/regular/pt/w.png new file mode 100644 index 00000000..093e7e0a Binary files /dev/null and b/img/frames/etched/regular/pt/w.png differ diff --git a/img/frames/etched/regular/pt/wThumb.png b/img/frames/etched/regular/pt/wThumb.png new file mode 100644 index 00000000..ef8b22c5 Binary files /dev/null and b/img/frames/etched/regular/pt/wThumb.png differ diff --git a/img/frames/etched/regular/r.png b/img/frames/etched/regular/r.png new file mode 100644 index 00000000..3b15a7f0 Binary files /dev/null and b/img/frames/etched/regular/r.png differ diff --git a/img/frames/etched/regular/rThumb.png b/img/frames/etched/regular/rThumb.png new file mode 100644 index 00000000..94a3084d Binary files /dev/null and b/img/frames/etched/regular/rThumb.png differ diff --git a/img/frames/etched/regular/rules.svg b/img/frames/etched/regular/rules.svg new file mode 100644 index 00000000..e561eb9c --- /dev/null +++ b/img/frames/etched/regular/rules.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/etched/regular/rulesThumb.png b/img/frames/etched/regular/rulesThumb.png new file mode 100644 index 00000000..1756ed6c Binary files /dev/null and b/img/frames/etched/regular/rulesThumb.png differ diff --git a/img/frames/etched/regular/title.svg b/img/frames/etched/regular/title.svg new file mode 100644 index 00000000..a10c88e4 --- /dev/null +++ b/img/frames/etched/regular/title.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/etched/regular/titleThumb.png b/img/frames/etched/regular/titleThumb.png new file mode 100644 index 00000000..41544879 Binary files /dev/null and b/img/frames/etched/regular/titleThumb.png differ diff --git a/img/frames/etched/regular/type.svg b/img/frames/etched/regular/type.svg new file mode 100644 index 00000000..a8d560a3 --- /dev/null +++ b/img/frames/etched/regular/type.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/etched/regular/typeThumb.png b/img/frames/etched/regular/typeThumb.png new file mode 100644 index 00000000..f93b6dac Binary files /dev/null and b/img/frames/etched/regular/typeThumb.png differ diff --git a/img/frames/etched/regular/u.png b/img/frames/etched/regular/u.png new file mode 100644 index 00000000..bf993844 Binary files /dev/null and b/img/frames/etched/regular/u.png differ diff --git a/img/frames/etched/regular/uThumb.png b/img/frames/etched/regular/uThumb.png new file mode 100644 index 00000000..fbeb24f4 Binary files /dev/null and b/img/frames/etched/regular/uThumb.png differ diff --git a/img/frames/etched/regular/w.png b/img/frames/etched/regular/w.png new file mode 100644 index 00000000..b183c6f1 Binary files /dev/null and b/img/frames/etched/regular/w.png differ diff --git a/img/frames/etched/regular/wThumb.png b/img/frames/etched/regular/wThumb.png new file mode 100644 index 00000000..6ed47728 Binary files /dev/null and b/img/frames/etched/regular/wThumb.png differ diff --git a/js/frames/packEtched.js b/js/frames/packEtched.js index 3e791987..77dbdd10 100644 --- a/js/frames/packEtched.js +++ b/js/frames/packEtched.js @@ -1,30 +1,39 @@ //Create objects for common properties across available frames -var masks = [{src:'/img/frames/etched/legends/frame.svg', name:'Frame'}, {src:'/img/frames/etched/legends/title.svg', name:'Title'}, {src:'/img/frames/etched/legends/type.svg', name:'Type'}, {src:'/img/frames/etched/legends/rules.svg', name:'Rules'}, {src:'/img/frames/etched/legends/border.svg', name:'Border'}]; +var masks = [{src:'/img/frames/etched/regular/frame.svg', name:'Frame'}, {src:'/img/frames/etched/regular/title.svg', name:'Title'}, {src:'/img/frames/etched/regular/type.svg', name:'Type'}, {src:'/img/frames/etched/regular/rules.svg', name:'Rules'}, {src:'/img/frames/etched/regular/border.svg', name:'Border'}]; var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733}; var bounds2 = {x:0.42, y:0.9062, width:0.16, height:0.0453}; +var bounds3 = {x:0.0307, y:0.0191, width:0.9387, height:0.092}; //defines available frames availableFrames = [ - {name:'White Frame', src:'/img/frames/etched/legends/w.png', masks:masks}, - {name:'Blue Frame', src:'/img/frames/etched/legends/u.png', masks:masks}, - {name:'Black Frame', src:'/img/frames/etched/legends/b.png', masks:masks}, - {name:'Red Frame', src:'/img/frames/etched/legends/r.png', masks:masks}, - {name:'Green Frame', src:'/img/frames/etched/legends/g.png', masks:masks}, - {name:'Multicolored Frame', src:'/img/frames/etched/legends/m.png', masks:masks}, - {name:'Artifact Frame', src:'/img/frames/etched/legends/a.png', masks:masks}, - {name:'White Power/Toughness', src:'/img/frames/m15/commanderLegends/ptW.png', bounds:bounds}, - {name:'Blue Power/Toughness', src:'/img/frames/m15/commanderLegends/ptU.png', bounds:bounds}, - {name:'Black Power/Toughness', src:'/img/frames/m15/commanderLegends/ptB.png', bounds:bounds}, - {name:'Red Power/Toughness', src:'/img/frames/m15/commanderLegends/ptR.png', bounds:bounds}, - {name:'Green Power/Toughness', src:'/img/frames/m15/commanderLegends/ptG.png', bounds:bounds}, - {name:'Multicolored Power/Toughness', src:'/img/frames/m15/commanderLegends/ptM.png', bounds:bounds}, - {name:'Artifact Power/Toughness', src:'/img/frames/m15/commanderLegends/ptA.png', bounds:bounds}, - {name:'White Holo Stamp', src:'/img/frames/etched/legends/holo/w.png', bounds:bounds2}, - {name:'Blue Holo Stamp', src:'/img/frames/etched/legends/holo/u.png', bounds:bounds2}, - {name:'Black Holo Stamp', src:'/img/frames/etched/legends/holo/b.png', bounds:bounds2}, - {name:'Red Holo Stamp', src:'/img/frames/etched/legends/holo/r.png', bounds:bounds2}, - {name:'Green Holo Stamp', src:'/img/frames/etched/legends/holo/g.png', bounds:bounds2}, - {name:'Multicolored Holo Stamp', src:'/img/frames/etched/legends/holo/m.png', bounds:bounds2}, - {name:'Artifact Holo Stamp', src:'/img/frames/etched/legends/holo/a.png', bounds:bounds2}, + {name:'White Frame', src:'/img/frames/etched/regular/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/etched/regular/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/etched/regular/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/etched/regular/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/etched/regular/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/etched/regular/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/etched/regular/a.png', masks:masks}, + {name:'White Power/Toughness', src:'/img/frames/etched/regular/w.png', bounds:bounds}, + {name:'Blue Power/Toughness', src:'/img/frames/etched/regular/u.png', bounds:bounds}, + {name:'Black Power/Toughness', src:'/img/frames/etched/regular/b.png', bounds:bounds}, + {name:'Red Power/Toughness', src:'/img/frames/etched/regular/r.png', bounds:bounds}, + {name:'Green Power/Toughness', src:'/img/frames/etched/regular/g.png', bounds:bounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/etched/regular/m.png', bounds:bounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/etched/regular/a.png', bounds:bounds}, + {name:'White Legend Crown', src:'/img/frames/etched/regular/crowns/w.png', bounds:bounds3, complementary:21}, + {name:'Blue Legend Crown', src:'/img/frames/etched/regular/crowns/u.png', bounds:bounds3, complementary:21}, + {name:'Black Legend Crown', src:'/img/frames/etched/regular/crowns/b.png', bounds:bounds3, complementary:21}, + {name:'Red Legend Crown', src:'/img/frames/etched/regular/crowns/r.png', bounds:bounds3, complementary:21}, + {name:'Green Legend Crown', src:'/img/frames/etched/regular/crowns/g.png', bounds:bounds3, complementary:21}, + {name:'Multicolored Legend Crown', src:'/img/frames/etched/regular/crowns/m.png', bounds:bounds3, complementary:21}, + {name:'Artifact Legend Crown', src:'/img/frames/etched/regular/crowns/a.png', bounds:bounds3, complementary:21}, + {name:'Legend Crown Cover', src:'/img/frames/etched/regular/crowns/cover.svg'}, + {name:'White Holo Stamp', src:'/img/frames/etched/regular/holo/w.png', bounds:bounds2}, + {name:'Blue Holo Stamp', src:'/img/frames/etched/regular/holo/u.png', bounds:bounds2}, + {name:'Black Holo Stamp', src:'/img/frames/etched/regular/holo/b.png', bounds:bounds2}, + {name:'Red Holo Stamp', src:'/img/frames/etched/regular/holo/r.png', bounds:bounds2}, + {name:'Green Holo Stamp', src:'/img/frames/etched/regular/holo/g.png', bounds:bounds2}, + {name:'Multicolored Holo Stamp', src:'/img/frames/etched/regular/holo/m.png', bounds:bounds2}, + {name:'Artifact Holo Stamp', src:'/img/frames/etched/regular/holo/a.png', bounds:bounds2}, ]; //disables/enables the "Load Frame Version" button document.querySelector('#loadFrameVersion').disabled = false; diff --git a/print/index.php b/print/index.php index cdb2c51a..c4855211 100644 --- a/print/index.php +++ b/print/index.php @@ -46,15 +46,17 @@ include('../globalHTML/header-1.php'); -
-
-
Drag and drop the images that you'd like to print
- +
+
+
+
Upload the images that you'd like to print, or drag-and-drop them
+ +
+
+ +
-
- -

Download your Sheet (PNG)

(Can take a few seconds)