"Which format will yield the best compression for a photographic image" The answer is "a", JPEG.
"What is the difference between resizing and resampling" Resampling smooths the edges of images after resizing, whereas plain resizing does not.
"When using pdf_findfont(), which type of encoding is it best to specify as the third parameter" The answer is "e", host, which lets PHP pick the appropriate encoding for the platform.
If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!
Next chapter: Answers to Chapter 12 >>
Previous chapter: Answers to Chapter 10
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.