For specific filetypes, e.g JPG, GIF, etc. I would like to get a list of available options for use in Import and Export.

Unfortunately, the obvious thing doesn’t work:

Options @ Export (* is {} *)
Options @ Import (* is {} *)
  • 4
    $\begingroup$ This help?: mathematica.stackexchange.com/q/164121/38205 $\endgroup$ – b3m2a1 Feb 4 at 6:41
  • 3
    $\begingroup$ Long story short: Get@"https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/MiscFuncs.m"; getFormatImportData["PDF"] $\endgroup$ – b3m2a1 Feb 4 at 6:44
  • $\begingroup$ What about Export options? $\endgroup$ – M.R. Feb 4 at 7:11
  • $\begingroup$ getFormatExportData["PDF"] $\endgroup$ – b3m2a1 Feb 4 at 7:15
  • $\begingroup$ Haha nice, very nice $\endgroup$ – M.R. Feb 4 at 7:16

Sorry, this is not possible in 11.3. Best bet for now is look at the ref/Format pages. We will look into ways to improve this in the future.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.