1

I dunno since when, but upload of PDF images fails, this hurts especially on tex.SE. Could this be an effect of an updated /etc/ImageMagick-6/policy.xml on the imgur server? At least on my Ubuntu 18.04 LTS machine, this file was modified two weeks ago.

  • Could it be because your file is larger than 2 MB? – Sonic the Reinstate Monica-hog Oct 11 '18 at 16:09
  • 1
    @Sonic no, because PDF is not an image and the image uploader supports uploading only, well, images. – Shadow The Princess Wizard Oct 11 '18 at 20:59
  • 1
    No, the PDF was pretty small. And no, PDFs are images as per this answer on tex.meta.SE (being automatically converted). Edit: Used to be images? – quazgar Oct 12 '18 at 7:21
  • I was surprised to know that Imgur supported PDF (from your linked meta post on TeX)... however, it seems it has failed on SE since 2013 – Meta Andrew T. Oct 27 '18 at 17:34
  • True, so it's probably a duplicate of that tex.meta question. – quazgar Nov 6 '18 at 10:37
  • @quazgar no, PDF is not an image, no matter how you try to look at it. It can be converted to image, but that's not something SE can or should be doing. This is still not a bug in any way. – Shadow The Princess Wizard Feb 28 at 9:51
2

There isa Q&A on Tex.SE's Meta: "Add directly a PDF image from overleaf to a question or an answer edit" about uploading .PDFs:

When posting a question or an answer on tex.stackexchange.com I often start by creating a MWE with overleaf. Then if I want to include the resulting PDF I have to download it to my local system first before inserting it into the post. My question is as follows: is there a way to include the PDF directly from overleaf without download it to my local system?

As of now, Stack Exchange only provides image uploader on all sites using Imgur's service.

While some SE sites got their customization like Code Snippet (SO, etc), MathJax (Mathematics.SE, etc), embedded YouTube video (SciFi.SE, etc), ABC notation (Music.SE)... but PDF uploader is not one of them.

BTW, I do see an error message when I attempted to upload a .PDF to Tex.SE using an URL, attempting to select a file via the browser fails silently.

Can't upload .PDFs

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .