you could create a view wich is 3840 * 2400
save the target bmap
use bmap_to_format
then bmap_save

then open a paint program and cut of the black pixels


"empty"