Solved

Possible to tint/change color of a PNG image using PHP/ASP/jQuery?

Posted on 2015-01-08
2
554 Views
Last Modified: 2015-01-14
Wondering if its possible to tint a PNG image using script (or component)? If so - how?!
Example -- a white circle on a transparent background - we would want to tint the white circle to a chosen color but retain the background transparency.

Thanks!
0
Comment
Question by:Mark Pike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40538782
the easiest way to do this is using server side component, such as ImageMagick

http://www.imagemagick.org/

This will allow you to edit the photo
0
 
LVL 43

Expert Comment

by:Rob
ID: 40539223
using javascript you can do simple overlays but it doesn't affect the original image.  Not sure that's what you want but it would allow the use to interact by being able to change the color and intensity.

http://jsbin.com/masexu/1/edit?html,css,output
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question