Site
Home / Forum / Artwork / Ticket for event artwork

Ticket for event artwork


Posted: 28 Dec 2019 13:24

curswine
Posts: 143
Joined: Jan 2017

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.

Posted: 28 Dec 2019 16:01

ovokx
Posts: 830
Joined: Jan 2017

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

Posted: 28 Dec 2019 22:32

curswine
Posts: 143
Joined: Jan 2017

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);
}


Posted: 29 Dec 2019 10:51

ovokx
Posts: 830
Joined: Jan 2017

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


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 4 (Total: 4)