Site
Home / Forum / Artwork / Ticket for event artwork

Ticket for event artwork


Posted: 28 Dec 2019 13:24

zag
Admin
Posts: 3,848
Joined: 2020

Just wondering which people would prefer to see, the ticket stub design or the season ticket based design?

Ticket Stub:
https://i.imgur.com/HlApxhd.jpg

I could do designs for other teams, but I'm not sure how easy it would be to get the designs that each team uses, if anyone has any resources I'd love to take a lot at them.

transparent spacer
Posted: 28 Dec 2019 16:01

zag
Admin
Posts: 3,848
Joined: 2020

Where it will be uploaded or will it be a new artwork to be requested?

transparent spacer
Posted: 28 Dec 2019 22:32

zag
Admin
Posts: 3,848
Joined: 2020

I was thinking of using the designs for match thumbnails to add a little local flavour to them, but maybe a league wide design would be better?

Also does anyone have any knowledge of scripting with Photoshop?

I've managed to make something to automate changing team names and dates in the PSD with a JSON, but I'm having a problem where the font size of the changed text layers become exponentially larger, and I can't find anything in the script that should cause something like that to happen.

#include json2.js

(function main() {

var fixtures = loadJson('fixtures.json');

for (var i = 0; i < fixtures.length; i++) {
var fixture = fixtures[i];
processFixture(fixture);
}

})();

function processFixture(fixture) {
var doc = app.activeDocument;

var timeGroup = doc.layerSets.getByName('time');
var timeLayer = timeGroup.layers[0];
timeLayer.textItem.contents = fixture.time;

var dateGroup = doc.layerSets.getByName('date');
var dateLayer = dateGroup.layers[0];
dateLayer.textItem.contents = fixture.date;

var opponentGroup = doc.layerSets.getByName('opponent');
var opponentLayer = opponentGroup.layers[0];
opponentLayer.textItem.contents = fixture.opponent;

saveGroup(opponentGroup, fixture.id);
}

function saveGroup(group, name){
saveJpeg(name);
}

function loadJson(relPath) {
var script = new File($.fileName);
var jsonFile = new File(script.path + '/' + relPath);

jsonFile.open('r');
var str = jsonFile.read();
jsonFile.close();

return JSON.parse(str);
}

function saveJpeg(name) {
var doc = app.activeDocument;
var file = new File(doc.path + '/gen/' + name + '.jpg');

var opts = new JPEGSaveOptions();
opts.quality = 12;

doc.saveAs(file, opts, true);
}


transparent spacer
Posted: 29 Dec 2019 10:51

zag
Admin
Posts: 3,848
Joined: 2020

to add a little local flavour to them, but maybe a league wide design would be better?

I think that it would be better to create a new field for that because we have a huge amount of thumbs with a different design and could be a heavy work to update them all

transparent spacer
Showing 0 to 4 (Total: 4)