TwicPics is a real time image processing service that enables business of all sizes to deliver rich visual content with high performance and easy setup.
Websites are heavier than ever and the main culprits are images. They eat up network bandwidth and increase the time visitors spend waiting for pages to load. Thing is, every passing tenth of a second reduces your website's overall conversion rate and, thus, dramatically impacts revenues.
With all kind of devices, screen sizes and pixel densities out in the wild, tailoring images is extremely challenging. Depending on one's approach, it complicates server-side architectures by an order of magnitude, makes for convoluted deployment strategies or just plain kills client-side performances. This is where TwicPics comes into play.
Through TwicPics, developers always point to the biggest, most detailed version of the media. Yet, end-users never see this master image. Instead, an optimized, perfectly sized, device-adapted version is delivered from a server close to them.
TwicPics acts as an image proxy. It requests your master image, be it on your own web server or in a cloud storage like Amazon S3, then generates a device-adapted version, encoded using the best compression available, that's delivered directly to the end-user from the closest delivery point available.
Let's consider a full width banner. A tourist roaming the streets of Paris with an iPhone 6 will fetch a 750px wide, 33kB JPEG image from one of our two delivery points in the French capital. The same Brazilian national, now using Chrome on a MacBook back home, will fetch a 1440px wide, 114kB WebP image from our delivery point in São Paulo or in Rio de Janeiro, whichever is the closest.
Widths, and thus file sizes, would be different if the iPhone was in landscape mode or if Chrome did not cover the whole screen of the MacBook or if said MacBook had a retina display. TwicPics does take orientation, browser size and pixel density into consideration when determining image dimensions.