Skip to content

Commit

Permalink
Add a note that alpha PNGs use lots of RAM (ref prawnpdf#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradediger committed Mar 5, 2012
1 parent f5635ea commit a5fbc76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/prawn/images.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ module Images
# Add the image at filename to the current page. Currently only
# JPG and PNG files are supported.
#
# NOTE: Prawn is very slow at rendering PNGs with alpha channels. The
# workaround for those who don't mind installing RMagick is to use:
# NOTE: Prawn is very slow at rendering PNGs with alpha channels, and this
# uses a lot of RAM. The workaround for those who don't mind installing
# RMagick is to use:
#
# http://github.com/amberbit/prawn-fast-png
#
Expand Down

0 comments on commit a5fbc76

Please sign in to comment.