I have a JPEG image inside a PDF file, i know that it is a JPEG, because when i open the file with a hex editor i can see JFIF
string present in it. How do i extract it into a separate file.
The particular file that i have only has a single image and it is on the first page.
I know that it is possible to use convert
from the Image Magic package to convert the image, but this will mean that a double conversion will take place possibly making an image either worse quality or unnecesserily larger size.