How to shoot a gigapixel image