prawnpdf/prawn — pull request #575 by packetmonkey (2013-11-16 05:28:55+00:00)
Title: Allow for pluggable image handlers

This commit does two things, it move recognition for if an image class
can support a given image into that class, and will attempt to find an
image handler for any given image among any class defined inside the
Prawn::Images module.

This makes it easier to add support for additional image formats
without directly modifying the prawn core library.

All the specs pass and I added a new spec to ensure we attempt to find
an image handler inside the correct module for an image.