deal with large images (250K and more...)