This chapter is from the book
Workshop
Quiz
- What is the purpose of inJustDecodeBounds?
- What does mutable mean?
- What is a pivot point?
Answers
- In BitmapFactory.Options, inJustDecodeBounds is used to decode a Bitmap to get the dimensions but not actually create a Bitmap in memory.
- Mutable means changeable, and that is important when you create Bitmaps. Some methods return mutable Bitmaps and others return immutable Bitmaps.
- When you rotate an image, there must be a point to rotate around. That is the pivot point.