How can I extract the original images(keep original format)?

I installed ghost-script, and tried with this command, but it gave me blur images with large sizes.
Code: Select all
magick.exe "testPdf.pdf" "testPdf.jpg"
----------------------------------------------------------------------------------------------
Version: ImageMagick 7.0.8-23 Q16 x64 2019-01-02 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC HDRI
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib