[magick-users] re flect text's font, size, color in AI file to another text
Nguyen Vu Hung
vuhung16plus at gmail.com
Tue Nov 18 00:17:57 PST 2008
On Tue, Nov 18, 2008 at 3:57 PM, Anthony Thyssen
<A.Thyssen at griffith.edu.au> wrote:
> On Mon, 17 Nov 2008 21:28:10 -0800 (PST)
> vuthecuong <vuthecuong at luvina.net> wrote:
>
> |
> | Hi all
> | Suppose I have an AI file (Adobe illustrator).
> | In this AI file I have text "sample1" with red gradient color, font Arial,
> | size 15.
> | Can IM help me to:
> | 1) Read/detect color info, font info, size info of "sample1" text in
> | AI file
> | 2)reflect detected color info, font info, size info of "sample1" text
> | in AI file to another text on the fly, kets say "sample2" text?
> | please help me, I need your help. regards
> |
> First not that AI image file format is actually postscript that has been
> generated in a very special way that AI itself can read and parse.
>
> This means there are three ways you can get text/font information...
>
> One is to convert the image to a raster and try to detect the text there.
> That depends on how 'busy' the rest of the image is, and if an
> appropriate filter can be figured out for such an image. An example
> will be needed for use to help here.
[resend]
What the OP needs are color info and font info, size of font in the AI files.
So after a rasterisation file( which convert the AI file to a bitmap
file, is that right?),
it will be nearly impossible to detect font size and font info from the raster.
--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html
More information about the Magick-users
mailing list