DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Some Ideas  (Read 10,950 times)

crono

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 179
Some Ideas
« on: January 22, 2008, 12:59 PM »
Hi Mouser,

I searched the web today for a tool but couldn't find anything usefull, but I think UIM could be modified to do the job. I don't know if you are still develop UIM - if not - no problem, I will find something else... OK, the problem is, that I have to do some webdesign work. Most of our clients donut want their email in plain text (because of spam bots) on their imprints (which is mandatory in germany). So I'm sitting here, firing up Photoshop, type the address, save as... close photoshop - starting Photoshop takes about 80 seconds, typing about 5 seconds ;) So my Idea  was to find a tool which allows me to create Images from the commandline (I know ImageMagick - but don't like the results when dealing with text). I think about something like:

Code
UIM --text="test@example.com" --font="verdana 12px #000000" --background="transparent" email.png
UIM --text="Demoheadline" --font="verdana 22px #ffffff" --background="#0000ff" headline.png

This should result in 2 images, cropped to the bounding-box of the text, if not different specified. For handling the format, you can use a subset (font, background, width, height, textalign, padding, margin, text-decoration) of the CSS syntax which should be familiar to webworkers and css parser are available. Maybe this whole Idea is a completely new tool, but I thought UIM would be a nice foundation to build up on...

Original address: https://www.donationcoder.com/forum/index.php?topic=11961.0