Draw text with images, it is possible ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Tiffany

Draw text with images, it is possible ?

Post by Tiffany »

Hi,

- sorry for my bad english -

Look that image :

Image

You can see " image magick ? " draw with small bird.
It is possible to do this with image magick ?


I want to write a text on an image...
BUT
instead of use any police , I try to draw the text with lot of small images.


Any idea please ?
Tiffany

Re: Draw text with images, it is possible ?

Post by Tiffany »

I'm so bad in english and nobody understand my problem ? :(
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Draw text with images, it is possible ?

Post by fmw42 »

Tiffany wrote:I'm so bad in english and nobody understand my problem ? :(

No, we understand, but I have no solution within IM.
User avatar
rmabry
Posts: 148
Joined: 2004-04-13T11:25:27-07:00

Re: Draw text with images, it is possible ?

Post by rmabry »

Hi Tiffany,

How many different small bird images did you use?

There are actually ways of doing some similar things using IM if you're willing to do a fair bit of programming. I think something is certainly possible using PerlMagick, for example.

I've also seen some graphics programs (e.g., PaintShop Pro) that allow for drawing using a "brush" consisting of an alternating family of images.

Rick
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Draw text with images, it is possible ?

Post by anthony »

This can be a very tricky thing to do. I don't think it is juat a matter of substituting a brush, as teh fonts are not drawn in that way.

More it is a matter of trying to get a list of points (center of circles) that can give a rough representation of an area of color.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
rmabry
Posts: 148
Joined: 2004-04-13T11:25:27-07:00

Re: Draw text with images, it is possible ?

Post by rmabry »

Right --- a brush approach works in a graphics program like PSP, if you do the drawing "by hand", the turning, etc., because your brain is good at following lines. That part would be hard to program (but not impossible using edge detection and such). Finding positions for birds to achieve appropriately averaged color is, on the other hand, very doable.
Post Reply