Usually a PDF will give the best option for enlargement.
However if the PDF has been made from an original jpg (which is sometimes the case) then the PDF will stay at the resolution of the original jpg.
If a jpg is of high enough resolution (usually over 1MB) is should be okay for enlargement up to plan size.