No results found

Speed up your App Cloud apps with image transcoding

App Cloud's image transcoding service makes it ridiculously simple to scale down images for mobile and tablet apps. Here are a few examples:

Reduce an image to 100x100, ignoring the original aspect ratio:

<img src="http://transcode.appcloud.brightcove.com?image=www.example.com/apples.jpg
&width=100&height=100" width="100" height="100"/>

Reduce an image to 100 pixels in width, preserving the original aspect ratio:

<img src="http://transcode.appcloud.brightcove.com?image=www.example.com/apples.jpg
&width=100" width="100"/>

Reduce an image to either 100 pixels in width or 100 pixels in height (whichever aspect is greater), preserving the original aspect ratio:

<img src="http://transcode.appcloud.brightcove.com?image=www.example.com/apples.jpg
&max_dimension=100"/>

Convert a PNG to JPG:

<img src="http://transcode.appcloud.brightcove.com?image=www.example.com/apples.png
&format=jpg&quality=80"/>

You can save a TON of bandwidth by using this service. Not to mention your apps will run faster. Take a 400x400 image and reduce it to 100x100—that can be a 90% (or more) reduction in file size! See the App Cloud docs for a complete rundown of the API.

p.s. Get more tips and tricks (and share your own) by joining the Brightcove App Cloud discussion group on Google.