Javascript: Using Canvas to cut an area of an image
Learn how to use Canvas compositing and source-in with drawImage to extract nonrectangular image areas defined by a mask.
Read the postPosts in the Tips n' Tricks category from Setfive.
48 posts
Learn how to use Canvas compositing and source-in with drawImage to extract nonrectangular image areas defined by a mask.
Read the postHow to include Doctrine foreign key columns in array results for efficient Symfony/PHP data exports without joining related tables or hydrating entities.
Read the postHow a Symfony2 app uses Google’s TTS API and server-side audio conversion to combine user-written MadLibs dialogue with Taken movie clips.
Read the postHow HotelSaver.io launched a minimal hotel price-monitoring MVP, used Stripe and email-based reservations, and changed pricing after Hacker News feedback.
Read the postHow to override Symfony2’s switch-user listener to preserve return URLs and let administrators switch directly between impersonated users.
Read the post