[Wolves] php generated text over image or rewrite entire doc?

Jon Farmer jon at bctech.co.uk
Wed Jun 20 11:53:08 UTC 2012

On 20/06/12 12:47, Andy D'Arcy Jewell wrote:
> On 20/06/12 11:48, Jon Farmer wrote:

> An alternative approach might be to layer a transparent GIF or PNG,
> containing the text fields, generated with ImageMagick on top of your
> "blank" image. You could cache the overlay images (perhaps permanently)
> so you don't have to keep regenerating them. If you use a compressed,
> low bit density, monochrome image (say 256 colours) it should provide
> enough shades to make anti-aliasing look nice, but keep your image size
> as low as possible. It's also quite easy to create a PDF from an image,
> and ImageMagick can do a merge operation, I believe.

Personally I would find that a nasty approach. If it needs to be
editable then you need to find something the EU is familiar with i.e a
word processor. If you want a PDF I would generate it from scratch with
something like PHP rather than convert from an image <shudder>.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20120620/aedd538d/attachment-0001.pgp>

More information about the Wolves mailing list