An inline chat photo and a file attachment serve different jobs. A quick view in a conversation may only need a manageable delivery copy. A photograph intended for printing, editing or archiving may need the original file instead. Start from the original you have and decide which of those tasks you are solving before making it smaller.
Our Chat photo preset fits the whole image inside a 1600×1600 pixel box, with a file budget up to 1 MB. Our HD photo preset uses a 4096×4096 box and a budget up to 3 MB. Neither number proves the dimensions or encoding of every WhatsApp delivery. The app and receiving device still affect what the other person sees.