4 ms·
Ask HN: How to do server side image processing?
I have been using this site for a while now and I'm kind of curious as to how it is implemented.
http://placeit.breezi.com
It takes an image and creates a product shot. Really cool, how would you go about implementing such. HTML5, PHP?
- jaachan 14y agoIt just uploads the image you drop, combines it server-side (in PHP you'd use something like http://www.php.net/manual/en/book.image.php http://www.php.net/manual/en/book.image.php). Tricky part is getting the tilting right so it matches the phone.
- ColinWright 14y agoIt's done server side, so isn't just a case of applying to your image a linear transform that matches the destination image of the phone you want to place it on, then using "green screen" technology to insert the transformed image into the image of the phone. Seems pretty trivial, technically. Maybe I don't understand your question.