- if( !scale ) scale = 1;
- asset->width = asset->actual_width * scale;
- asset->height = asset->actual_height * scale;
+ if( scale ) {
+ asset->width = asset->actual_width * scale;
+ asset->height = asset->actual_height * scale;
+ }
+ else { // can_scale_input
+ if( width ) asset->width = width;
+ if( height ) asset->height = height;
+ }