Skip to Content
Flickr Hacks
book

Flickr Hacks

by Paul Bausch, Jim Bumgardner
February 2006
Intermediate to advanced
364 pages
8h 14m
English
O'Reilly Media, Inc.
Content preview from Flickr Hacks

Chapter 7. Custom Applications

Hacks 43-50

Many independent developers have taken photos beyond the Flickr web site and into completely new applications, thanks to the Flickr API. In the same spirit of sharing, they’ve made their custom Flickr apps available to anyone who wants to play with them.

Some of these Flickr toys can turn your photos into motivational posters [Hack #46] or puzzles [Hack #48] . With a bit of programming, you can also mash up Flickr photos into collages [Hack #43], ransom notes [Hack #47] , or complex photo mosaics [Hack #49] .

This chapter will show you what’s possible when you go beyond the Flickr API basics into the realm of more fully realized custom applications.

Mash Up Your Photos

ImageMagick is the ultimate tool for making collages.

This is the first in a series of hacks about creating mosaic images. In this hack, we’ll build an image that contains a number of other photographs, randomly positioned and rotated. In the course of doing this, we’ll learn a bit about the incredibly useful ImageMagick library (plus, we’ll make a pretty interesting-looking collage).

What You Need

To build a collage from Flickr images, you’ll need some Flickr images, of course. I like to work with 100 x 100 thumbnails (these are the ones with the _t extension) until I’m happy with the final result. Then, I download larger images for the final draft.

This hack relies on the getPhotoList.pl script [Hack #33] and the getSnaps.pl script [Hack #34] .

Finally, you’ll need ImageMagick ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Yahoo! Hacks

Yahoo! Hacks

Paul Bausch

Publisher Resources

ISBN: 0596102453Errata Page