Back
to main Page
(copyright ©2002 E.Baud, All rights
reserved)
For anyone who wants to process a lot of picture with command-line,
here
are two freeware programs:
- EBDJPGTTF for writing text anywhere on a picture with any TTF font,
using freetype2 and RTF input files.
- EBDJPGEXIF is part of EBDJPG:
EBDJPGTTF ©2002
Here is ebdjpgttf, a freeware for writing on JPEG picture with
the TTF font you choose.
This application has been developped under Cygwin/Win98/WinXP
Environment
(C-language),
with freetype-2 (TTF to bitmap).
freetype.org: The
FREETYPE Project
http://www.freetype.com
stben.be:
/pub/ttf/programs
many arguments are available from DOS/cygwin prompt.
examples
some TTF fonts are available here :
Free Fonts
and http://crl.NMSU.Edu/~mleisher/download.html
example 1: Everywhere on the Picture:
ebdjpg -ttfsize 20 -font courbd -print
0 -1 "ebdJpgTTF"
-ttfsize 16 -font
Tt_bliss
-print
1 0 "Greetings\!" *.JPG
example2: (fonts ComicBold and CourrierNewBold)
example 3: (font Tt_bliss.ttf)
ebdjpg -font Tt_bliss -print
1 0 "Greetings\!" *.JPG
example 4: (use of freetype2 and wordpad RTF files, with Asian
charset: Chinese, Korean, Japanese, Vietnamese ...)
and different type of blending (ttfcolor):
adaptive/progressive, Black on White, White on Black, ...
ebdjpg
\
-ttfcolor 2 -ttfsize 75 -font
MSMINCHO.TTF -rtf 0 -0.70
jpn.rtf
\
-ttfcolor -3 -ttfsize 100 -font CYBERBIT.TTF -rtf 0 -0.42 china.rtf
\
-ttfcolor 1 -ttfsize 160 -font comicbd.ttf -print 0 -0.1 "\b ebdjpgttf"
\
-ttfcolor -1 -ttfsize 100 -font
LUCON.TTF -print
0 0.3 "TTF/freetype2 - RTF"
\
-ttfcolor -2 -ttfsize 125 -font VPSDODAT.TTF -rtf 0 0.70 cmnm.rtf
\
-cp "http://ebdjpg.free.fr
(c)2005" PICT0007.JPG
-exif -max
481
Level of detail obtained with freetype2:
For your tests, RTF_sample files are Here,
and font files are available here: http://www.travelphrases.info/by_language.htm
- msmincho
- cyberbit
- comicbd, lucon (windows default)
- vpsdodat
(VPS Dong Ha)
Download:
- download files Here.
E.Baud .