m0nkeymafia

Anyone have any ideas on how to create text with stroke in

php

 ? [i.e. on an image]
Cheers

vsloathe

I usually use imagick (image magick's

PHP

  bindings, also magickwand for

php

 Applause.

m0nkeymafia

ta dude... how do i install that and whatnot? lol
im rubbish at installings of things Applause

vsloathe

What distro of

linux

 ? You could probably apt-get or yum it if you're on

debian

 /

ubuntu

  or FC/RHEL.

If not, I would just go to imagemagick.org and get the sources, compile, etc.

Then you need to enable it as a

PHP

  extension. I think there is instructions on imagemagick website.

m0nkeymafia

cheers dude, gonna hassle my hosting to try install it now

m0nkeymafia

quote author=vsloathe link=topic=755.msg5234#msg5234 date=1202395135

I usually use imagick (image magick's

PHP

  bindings, also magickwand for

php

 Applause.


How do I write text / apply stroke then now I've got it?
Looking at the API, MagickWand, you can "annotate" images, but no mention of stroke there, or a global "stroke" application.

Cheers

vsloathe

check out

PHP

 

.net

 , look at the magickwand functions. I don't know if you can do alpha characters per se, but when I've done it, I just wrote a little library for myself of alpha chars, kind of made my own font. It's the pixel-> object you need to use.


Perkiset's Place Home   Politics @ Perkiset's