Project Detail

PHP Font Image Generator Script  

PHP Font Image Generator Script is project number 409430
posted at Freelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status:

Selected Providers: arename

Budget: $30-250

Created: 03/28/2009 at 1:20 EDT

Bid Count: 18

Average Bid:
$ 89

05/27/2009 at 1:20 EDT

Project Creator: lm84
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (2 reviews)

Bid On This Project
 

Description

I need a simple PHP function to generate the image of the given font. I want it to be able to generate the image for ttf and otf files. No need for any UI. Just one simple function. I need it to be VERY VERY FAST. It can be as simple as this:

<img src="fontgen.php?f=Harry Potter.ttf"/>

Also I want it to have maximum 2 files. One would be image.php (generates the font image) and one settings.php (all the settings are stored here).

Here is the variables for settings.php that I need:
$fontSize = 14; // This will resize the font if $autoResizeFont is false.
$autoResizeFont = true; // This will resize the font to $imgWidth and $imgHeight the best it can if it is set to true ($fontSize will be ignored).
$sampleText = 'This is a sample text'; // Sample text to generate.
$fontColor = '#000000'; // Font color.
$backgroundColor = '#ffffff'; // Background color.
$transparentBackground = true; // Transparent background.
$imgWidth = '700'; // Width of all images in pixels.
$imgHeight = '90'; // Height of all images in pixels.
$fontStorage = 'storage'; // Default folder to store fonts to hide the fonts folder from the users and stop batch downloads...
$fontSpacing = '3'; // Spacing between each character in pixels.

Others:
The text in the image has to be centered in all directions.

Also I want to be able to overdrive the settings too. For example the command below will:
<img src="fontgen.php?f=verdana.ttf&w=300&h=100&s=20&t=Sample Text&tc=FF0000&bc=00FF00&tar=false&trbg=false" />
generate the image for "verdana.ttf" with the width of 300 pixels, height of 100 pixels, size of 20pt, text sample of "Sample Text", text color of "FF0000", background color of "00FF00", text auto resize of "false", and transparent background of "false".

Another example to overdrive the image with less settings would be (rest of the settings that are not set will be used from settings.php):
<img src="fontgen.php?f=tahoma.ttf&w=600&h=70&t=abcdefghijklmnopqrstuvwxyz" />
This command will generate the image for "tahoma.ttf" with the width of 600px, height of 70px, and the text sample of "abcdefghijklmnopqrstuvwxyz".

I have provided some fonts too. Use these fonts to test the script.

The project budget is $50 to $80. And again I need this script to be VERY VERY VERY FAST.

I will combine this script with movabletype to make a font site. So imagine generating at least 20 images for each user. That's why it has to be very fast.

If you need more info let me know.


Additional files submitted:
Grinched.ttf
Parry Hotter.ttf
Pokemon Normal.ttf
Transformers Normal.ttf
Turtles Normal.ttf
Brolga.otf
matrix code nfi.otf

Job Type

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

250

7 days

03-28-2009 01:41 EDT

#########Please check PMB for details. ##########

help

 

45

1 day

03-28-2009 08:56 EDT

we can do it

help

 

65

0 days

03-28-2009 02:54 EDT

Hi, I can have this for you finished today.. just a few hours of work.. as i already have the script and will just have to make it work like you want it to. cheers, Cip

help

 

100

1 day

03-28-2009 01:53 EDT

Please check PM for similar script that you are looking for.Regards,A1

help

e3d

 

64

1 day

03-28-2009 05:24 EDT

Hello, I can do that.

help

 

70

1 day

03-28-2009 02:52 EDT

ready to do..

help

 

100

1 day

03-28-2009 08:03 EDT

I can do it quick

help

 

125

7 days

03-28-2009 08:27 EDT

Hello, I'm ready to start work. I've good knowledge. I can do this according to your requirements. 1) NO Advance, NO Upfront, NO Escrow payments 2) Unlimited options unless you are 100% satisfied 3) Unlimited Revisions/Changes 4) Fast Turnaround 5) Continuous Update 6) Daily Submission 7) Daily Response and Communication 8) Follow Deadline and Requirements 9) 100% Satisfaction 10) All Copyrights Yours Please provide details and award project to me see PMB for details. Thanks.

help

 

60

1 day

03-28-2009 14:35 EDT

I can do it. View PM for details.

help

 

80

1 day

03-28-2009 02:24 EDT

Hi. Please check PM

help

 

50

1 day

03-28-2009 11:05 EDT

Hi, I have lot of experience with php and I can do this for you in few moments, using php gd library. Best Regards, Cristi

help

 

30

1 day

03-28-2009 11:23 EDT

Check your PMB for details.

help

 

50

0 days

03-28-2009 04:12 EDT

Hi I have the script now. Check PMB for my profile. Waiting for your reply

help

 

80

2 days

03-28-2009 04:54 EDT

Dear Sir, I have ready what you need. Please see PMB for details

help

 

250

5 days

03-28-2009 13:55 EDT

See PMB for more information .

help

 

50

1 day

03-28-2009 04:40 EDT

Easy task for me.I can do this in 1 day.I have already done image processing task in php.

help

 

30

0 days

03-28-2009 12:03 EDT

I can have this done within 1 hour of receiving the project.

help

 

100

1 day

03-28-2009 04:57 EDT

(No Feedback Yet)

Please check PM

help


    Bid on this Project