intellix Posted December 18, 2010 Share Posted December 18, 2010 Hey guys... I have a function that allows a user to alter the size of a <canvas> element that contains an image. In order for it to resize properly I had to remove the old element and create the other, using the same image. Each image only has transparent and one other colour. Is it possible to just..... getColours on the <canvas> image and apply it to the new one? Thanks, Dom Quote Link to comment https://forums.phpfreaks.com/topic/222101-canvas-an-image-and-finding-the-colours-in-use/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.