[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Einfügen von Text in Bilder (On-the-Fly)



Hallo,

zur Zeit verwende ich "netpbm" mit

anytopnm "${PIC}" 2>/dev/null		|
  pnmscale -xysize ${SCR}		|
  ppmlabel -background ${bg}		\
           -color ${fg}			\
           -size ${FSIZE}		\
           -x 4 -y $((HEIGHT-FSIZE-4))	\
           -text "${COPYRIGHT}"

um in Bilder ein COPYRIGHT einzufügen, OHNE das ich die Bilder auf dem
Server doppelt abspeichern muß.

Das Problem ist, das man bei "netpbm" nur "fixed-size" Fonts verwenden
kann und keine TTF, welche von mir gewänscht sind.

Weis jemand, ob es noch ein anderes tool gibt, mit dem man das machen
kann?  Ich hatte zwar angefangen, ein "netpbm" tool "ppmttf" zu basteln,
aber funktioniert irgendwie nicht so wie ich will.

Sollte sich jemand mit sowas besser auskennen, kännte sie/er ja ein
paar Zeilen unter Verwendung der Quellem von "ppmlabel" was runterhacken
und natürlich 100% unter GPL stellen...  :-)

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: