Image manipulation

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
jeffsimmo85
Forum Newbie
Posts: 2
Joined: Mon Dec 20, 2010 4:12 pm

Image manipulation

Post by jeffsimmo85 »

I am currently working on a website where users can go and upload images and select different types of filters for the images and then let the user see the result of the filter. This has all gone fine and the image filters are working, the only problem I am having is trying to add a function that allows the user to convert the image so that it looks like a Polaroid. I have seen sites that do similar things but cant work out how its done, wondering if someone could shed some light on the whole area?
thanks
User avatar
Technical
Forum Commoner
Posts: 81
Joined: Thu Dec 02, 2010 5:30 am

Re: Image manipulation

Post by Technical »

You should create Polaroid-effect frame. Here you go. Cut off edges and then merge two images with imagecopymerge(), moving photo you need onto the black area.
jeffsimmo85
Forum Newbie
Posts: 2
Joined: Mon Dec 20, 2010 4:12 pm

Re: Image manipulation

Post by jeffsimmo85 »

thanks a lot I'll give it a try.
Post Reply