Adds padding bytes at the ends of scanlines.
procedure AddPadBytes(DataIn: Pointer; DataOut: Pointer; Width: LongInt; Height: LongInt; Bpp: LongInt; WidthBytes: LongInt);
ImagingFormats (at line 129)
Bpp is the number of bytes per pixel of source and WidthBytes is the number of bytes per scanlines of dest.