added support for 2x source images