We help IT Professionals succeed at work.
Get Started

Change colour of an eps file on the fly via php

vibrazy asked
Last Modified: 2012-05-05
Hi All,

Our client has asked us to develop an application in php where users upload a variety of files to the system.

They can upload an .eps file containing one image (usually a icon). And what our system must do is change its colour from e.g. Black to Red, or Black to Blue, or Black to whichever colour we specify.

I have been reading about PSlib, and we can import .eps files to a newly generated .eps file, but I can't seem to find any information in how to change the colour. With PSLib I can successfully change the colour of a text, or squares that are drawn on the fly, but not the colour of an imported .eps.

Can any one help me please?!!


Watch Question
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE