I tried a bunch of photos and found out that the issue only happens when the image is not in the shape of a square (i.e if the image is rectangular like my case)

I am also using a double column kind of layout for the paper

How do I solve this issue?


This is the portion of the code for the figure which I usually used for all figures. However, I have an issue with only one of the figures.

What I get is a white box covering the top right corner through the middle of the box.

I tried changing the place of the figure but with no luck.

I used texstudio, in the preview everything looks good, however when I access the saved PDF file I find that issue.

More details: the image is in PNG. It shouldn't be an issue because I never had this issue with other PNGs (and also with the same image in old compilation).

What could be the issue?

    \includegraphics [scale=0.5]{figurefilename}
    \caption{Figure Caption.}

This is only a portion of the image, I did not screenshot the whole image, just the problematic region.

enter image description here

  • With this fragment of code and don't having the relevant .png file at hand there is not much to say about this.
    – user31729
    May 16, 2017 at 21:18
  • that's distinctly odd, are you sure the image looks OK if you look at it in an image viewer before including it into latex? without a reproducible test file I think that will be impossible to debug. May 16, 2017 at 21:19
  • @DavidCarlisle yes the image is fine. Plus I have used it before and ran and compiled the paper perfectly. Now I got back to the document after a few months and did some modification to the text as per reviewer comments. But I got shocked by this issue.
    – HappyBee
    May 16, 2017 at 21:23
  • @ChristianHupfer I'll try changing the image to see if the issue persists
    – HappyBee
    May 16, 2017 at 21:24
  • I just added an update to the question. It seems that the issue only happens for rectangular images. How do I solve this?
    – HappyBee
    May 16, 2017 at 21:41


Browse other questions tagged .