Fit within scales the image so it fits inside the box you type, keeping its shape. A 4000×3000 photo with a 1920×1920 box becomes 1920×1440. Nothing is cropped.
Exact size (crop) starts with the dimensions you type and crops around the position you choose by dragging the preview. A Custom-mode byte cap can still reduce those dimensions. For exact output without that cap, set Target KB to 0 and inspect the downloaded dimensions.
Keep original pixels retains the width and height when Target KB is 0. A nonzero cap can still reduce dimensions. The new encoding and any selected sharpening can change pixel values, even at unchanged dimensions.