Removes padding from image with scanlines that have aligned sizes.
procedure RemovePadBytes(DataIn: Pointer; DataOut: Pointer; Width: LongInt; Height: LongInt; Bpp: LongInt; WidthBytes: LongInt);
ImagingFormats (at line 134)
Bpp is the number of bytes per pixel of dest and WidthBytes is the number of bytes per scanlines of source.