|
|
|
Blackie
|
 |
« Reply #1 on: June 25, 2008, 04:45:39 PM » |
|
Awesome! Thanks Trastan!
|
|
|
|
|
Logged
|
Bill Gates: "We are not the hardware company that Apple is, but Apple is not the software company that we are" 
|
|
|
|
Trastan
|
 |
« Reply #2 on: June 25, 2008, 07:31:07 PM » |
|
Sure, glad to help! Here's hoping we get a more official option in the near future.
|
|
|
|
|
Logged
|
|
|
|
|
Zunerama Ed.
|
 |
« Reply #3 on: June 25, 2008, 10:08:14 PM » |
|
Blogged it. Thanks, Trastan - great work.
|
|
|
|
|
Logged
|
|
|
|
|
RL
|
 |
« Reply #4 on: June 27, 2008, 10:10:03 PM » |
|
We have been getting a lot of link love lately. MS Channel 10 has blogged this. Here's the link.............. http://on10.net/blogs/sarahintampa/Zune-ID-Cards/Grats Trastan. Makes me wonder though, if we couldn't make an application to take care of the manual work. May look into it this weekend.
|
|
|
|
|
Logged
|
Zune Beta Tester since 2006-Just like everyone else.
|
|
|
|
Trastan
|
 |
« Reply #5 on: June 28, 2008, 12:40:38 AM » |
|
Thanks, RL - Harvey actually pointed that out to me earlier. Pretty cool.
I agree, it'd be great if we could get this process automated, but I'm afraid it's a bit beyond my current coding skills. If you have a way to help me get that going, I'd be much obliged.
|
|
|
|
|
Logged
|
|
|
|
|
Zunerama Ed.
|
 |
« Reply #6 on: June 28, 2008, 07:50:39 AM » |
|
^ If such a thing is feasible, we could host it from the Zunerama site - and perhaps dedicate one of our static pages to it. "Trastan's Zune ID Card Generator" page...?
One thing I like about how Trastan is doing it now, is we all get to see the requests coming in as well as the finished ID cards that Trastan produces. That is fun.
|
|
|
|
|
Logged
|
|
|
|
|
RL
|
 |
« Reply #7 on: June 28, 2008, 08:47:38 AM » |
|
Actually, Harvey that's an even better idea. It might even be easier to actually to code it with html and javascript. I was thinking along the idea of a dedicated application, but having a webapp do it would be better. Probably beyond my skills at this point, but would be a fun project to play with over the next couple of weeks. Of course if anyone else can pull it off, they are more than welcome to.
|
|
|
|
|
Logged
|
Zune Beta Tester since 2006-Just like everyone else.
|
|
|
|
Blackie
|
 |
« Reply #8 on: June 28, 2008, 09:58:22 AM » |
|
Methinks there will be tons of these ID cards floating around...
|
|
|
|
|
Logged
|
Bill Gates: "We are not the hardware company that Apple is, but Apple is not the software company that we are" 
|
|
|
|
Vipralion
|
 |
« Reply #9 on: June 28, 2008, 10:34:07 AM » |
|
Now I don't have the blank card or anything but what I did was create a tiny and very rough demo showing that it's possible with PHP!  Obviously if I went forward with this I'd polish it to make sure the PHP generated cards are as close in quality to what can be done manually by Trastan. http://vipralion.net/zune/creation.php
|
|
|
|
« Last Edit: June 28, 2008, 10:36:06 AM by Vipralion »
|
Logged
|
|
|
|
|
RL
|
 |
« Reply #10 on: June 28, 2008, 11:07:33 AM » |
|
Perfect............now we just need to get Trastan to send you his graphical assets and Harvey to host it.
|
|
|
|
« Last Edit: June 28, 2008, 11:09:10 AM by RL »
|
Logged
|
Zune Beta Tester since 2006-Just like everyone else.
|
|
|
|
Zunerama Ed.
|
 |
« Reply #11 on: June 28, 2008, 02:12:38 PM » |
|
Ahh, our resident PHP guru strikes again! That's cool, Vipralion.
|
|
|
|
|
Logged
|
|
|
|
|
Vipralion
|
 |
« Reply #12 on: June 28, 2008, 09:50:13 PM » |
|
I've updated the demo with a familiar interface.  Also configured the script to actually save the image to a file, which can be saved on the server for others to view so as to keep the ability to see the Zune ID Cards of others much the same as you do now in that particular thread. Would only need to have a script written to browse through the Zune ID's that have been created and also offer an easy means to delete cards one by one, and in bulk, keeping only the genuine ones, and discarding test cards, etc. Still need to see if I can work on making the generated text less prone to the boogers it gets now. Feel free to try out the web app. Let me know if you experience any bugs. All I need is to add Trastan's blank cards and add a chunk of code to handle creating horizontal and vertically oriented cards.
|
|
|
|
« Last Edit: June 28, 2008, 10:23:25 PM by Vipralion »
|
Logged
|
|
|
|
|
Trastan
|
 |
« Reply #13 on: June 29, 2008, 10:12:57 PM » |
|
Much obliged, Vipralion! Looks great so far. I'm curious: how did you do it? You said you used a webapp? I've worked with HTML, CSS, and some Javascript, but I've not yet touched those. I'd love to learn how you did it; would you mind sharing your wisdom? 
|
|
|
|
|
Logged
|
|
|
|
|
Vipralion
|
 |
« Reply #14 on: June 30, 2008, 01:14:59 AM » |
|
I didn't use a web app, I created the web app, which is more or less just a script. You can at the most, place text on top of an image using HTML, CSS, and Javascript but the image is still separate from the text. What I used is PHP with the functionality of the the GD function library to directly write the text onto the image itself. I used the imagettftext() function to use a custom font in TrueType format (.ttf) and then used a few other functions to load the template image and then output the bits in PNG format as it results in clearer text than when using the JPG format with GD. HTML and CSS are simply markup languages and don't contain any programmatic functionality. Javascript can do some things but is limited to the environment inside your browser at which point it can be a security risk and so is limited by the browser in its functionality. PHP runs on the server side and does its work first, then sends the results to the client. It's best suited for web development and is a common choice when writing software such as these forums. It's also a great choice as it's easy to learn yet offers a vast amount of functionality for advanced programmers.
|
|
|
|
|
Logged
|
|
|
|
|