Added transparency support for resize and crop functions.
Added transparency support for resize and crop functions.