How to resize a photo for an upload form
If the limit is in pixels, use Resize image. If it's in KB or MB, use Compress image.
Reading the rules
"Max 1000 × 1000 px" is about dimensions. "Max 2 MB" is about file size. They need different tools.
If it needs both
Resize first, then compress. It works better in that order.