[Phpvideopro-developers] Labels
Brought to you by:
izzy
From: Itzchak R. <izz...@qu...> - 2002-02-11 12:46:59
|
Hi Peter, Peter Bieringer wrote: That would mean to stick to a specified OS. I wrote the project in PHP=20 to be OS independant, so this wouldn't be the ideal choice. I thought of = something using PHPs image functions to generate labels. Should not be=20 that hard: some time ago I wrote a small "button generator". It takes=20 existing images as input (would be the empty label in our case) and puts = text strings on it. If you've got some free time and could take a look=20 at it it would be great. The only difficulty I see with it is the fonts=20 and adjustments: - how many items have to be put on the label - what format should it be - centered/justified/left/right - bold/italics/... Maybe we can build a couple of templates, and let the user select them=20 on printing. Or (later) save them together with the media information=20 ("this media uses template xxx"). </izzy> > "cdlabelgen" generates a Postscript output to stdout depending on > some command line options: >=20 > # cdlabelgen > usage: /usr/bin/cdlabelgen -c <category> -s <subcategory> [-i > <item1%item2%etc> -f<itemsfile> > -e <cover_epsfile> -S <cover_eps_scaleratio> -E <tray_epsfile> > -T <tray_eps_scaleratio> -d <date> -D -o <outputfile> > -t <template> -b -w -h] >=20 >=20 > Currently I'm using this with source of a txt file >=20 > Input:=20 >=20 > Title : Wie ich den Krieg gewann > Length: 106 > Year : 1966 > Format: VCD > Video : 1152 MPEG-1 CBR 352x288 PAL > Audio : 224 MPEG-1 Layer II Stereo > Actors: John Lennon >=20 > Command: >=20 > cdlabelgen -c 'Wie ich den Krieg gewann' -s ' ' -i 'Wie ich den Krieg > gewann%%(P) 1966%%Darsteller: John Lennon%%L=E4nge: 106 min%%Format: > VideoCD 2.0%Video: 1152 kBit/s MPEG-1 CBR 352x288 PAL%Audio: 224 > kBit/s MPEG-1 Layer II Stereo' -D >=20 >=20 > Don't know how to put it in phpVP, but perhaps it's enough if a > commandline is generated using some definable placeholders. >=20 > Then one can copy this line to shell, and got the PS output which can > be sent directly to printer. >=20 > Peter >=20 >=20 >=20 >=20 >=20 >=20 >=20 >>Thanx 4 input! >> >></izzy> >> >> >>--=20 >>Itzchak Rehberg >>http://www.qumran.org/homes/izzy/ >>"We have joy, we have fun, we boot Linux on our SUN..." >> >> >>_______________________________________________ >>Phpvideopro-developers mailing list >>Php...@li... >>https://lists.sourceforge.net/lists/listinfo/phpvideopro-developers >> >>=20 >> >=20 >=20 >=20 > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopro-developers >=20 --=20 Itzchak Rehberg http://www.qumran.org/homes/izzy/ "We have joy, we have fun, we boot Linux on our SUN..." |