Find Jobs
Hire Freelancers

Convert txt to png

$250-750 AUD

Completed
Posted over 10 years ago

$250-750 AUD

Paid on delivery
We are a small, independent photography company specialising in junior team sports photography. We have developed all our tech systems in-house using a series of shell (bash) scripts. We use Macs (Mavericks), and the bulk of our image processing is done through a loosely coupled collection of modules based on ImageMagick. One task we complete manually is the conversion of a text file (people's name) into a transparent background png to be overlaid on the rest of the print. We are looking to automate this process. The final product should: -- receive parameters such as the text file (including tabs), font, colour, minimum/maximum font size (eg 9.0/14pt), box size (based on photo orientation) -- automatically fit the text to box, aligning tabs (Back Row: etc), auto text size, line breaks (not breaking names) on commas if needed, line spacing (leading) -- produce a transparent png based on the inputs that displays the txt file contents 'beautifully' Things that I would build on the script in the future: -- ability to select an alternative font if the best fit font size is too small (under 8.5pt) - eg Arial to Arial Narrow -- ability to alter box size based on input logic if the best fit font size was too small - eg make the box a little bigger and the photo a little smaller What we have tried: -- LaTeX appears to be an obvious choice. Tab stops were do-able, but the background transparency was problematic. Requires a heavyweight install -- ImageMagick has a text resize functionality, but can't do tabs. Could still be an option if two text pngs were outputted with the same font size could be combined -- wkhtmltoimage appears to be the best option, and is lightweight. Can be styled easily with css, but I still can't get it right enough There is no restriction on how this is done, other than it should be fast and run on the systems specified above. I have attached some samples of outputs that we do manually.
Project ID: 5324703

About the project

10 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I've created programs to do custom text layout using the os x text layout apis in Quartz/Core Graphics, so i can create a small program to generate your image with beautifully rendered text. I've already done the basics of the program here: [login to view URL] You can run it like this txtpng -input [login to view URL] -width 3100 -height 350 -output [login to view URL] -font Helvetica
$300 AUD in 5 days
4.8 (18 reviews)
5.7
5.7
10 freelancers are bidding on average $580 AUD for this job
User Avatar
Dear there This seems an interesting job. Could you please send me some example of input and output, so I could review? I could work on immediately Thanks & B/R
$700 AUD in 7 days
4.7 (19 reviews)
6.1
6.1
User Avatar
A proposal has not yet been provided
$777 AUD in 20 days
5.0 (6 reviews)
4.3
4.3
User Avatar
I am new to freelancer. Hence you may not see any ratings. I am a general programing enthusiast and thought that this may be a good way to put my skills to good use. This is a simple task. I already have a basic working version of this program. Need some more formatting with the text - tabs, text wrapping, etc. Your job will be completed to your satisfaction.
$555 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$500 AUD in 15 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can solve your task. I can handle this problem using a python script with high quality documentation and testing. Best regards Euripedes
$250 AUD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I read your project and I can help you. I can write you a java program that would be able to do what you want. I look forward to hearing from you to discuss this project further. Clay P
$555 AUD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Queanbeyan, Australia
0.0
0
Member since Jan 15, 2014

Client Verification

Other jobs from this client

Mobile Datagrid
$250-1500 AUD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.