How to make transparent background from pdf to pnghow to remove the background for png pictureIntersection of...

Why is quixotic not Quixotic (a proper adjective)?

What happens if both players misunderstand the game state until it's too late?

Taking an academic pseudonym?

What does "don't have a baby" imply or mean in this sentence?

bash aliases do not expand even with shopt expand_aliases

Does the double-bladed scimitar's special attack let you use your ability modifier for the damage of the attack?

Partial derivative with respect to three variables

Coworker is trying to get me to sign his petition to run for office. How to decline politely?

How can changes in personality/values of a person who turned into a vampire be explained?

Is the tritone (A4 / d5) still banned in Roman Catholic music?

What does it mean for south of due west?

Manager has noticed coworker's excessive breaks. Should I warn him?

Is the percentage symbol a constant?

How can I persuade an unwilling soul to become willing?

Multiple null checks in Java 8

Minimum Viable Product for RTS game?

Including proofs of known theorems in master's thesis

Distribution of sum of independent exponentials with random number of summands

How can I handle players killing my NPC outside of combat?

3D buried view in Tikz

When distributing a Linux kernel driver as source code, what's the difference between Proprietary and GPL license?

How to Build a List from Separate Lists

Is there any danger of my neighbor having my wife's signature?

What is formjacking?



How to make transparent background from pdf to png


how to remove the background for png pictureIntersection of paths with constructed namesNumerical conditional within tikz keys?Why do I get an extra white page before my TikZ picture?TikZ: Drawing an arc from an intersection to an intersectionHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?Fill object in TikZ and make area transparentHow to make a background picture transparent?













2















I try to convert a latex pdf to png and the background should be transparent.



So I use pdftopng from XpdfReader for windows to convert: (bat-File)



pdflatex Other.tex
pdfcrop Other.pdf
pdftopng -r 300 Other-crop.pdf Other
del Other-crop.pdf


The source is:



documentclass[border=10pt,tikz]{standalone}
usepackage{tikz}

begin{document}

begin{tikzpicture}
draw [very thick,fill=green!20!white]
(-4, 4) circle (2.0cm) node {textbf{A}};
end{tikzpicture}

end{document}


from the example how to remove the background for png picture



with the result:



enter image description here



Is there a way to convert the pdf to a png with a transparent background using pdftopng?










share|improve this question



























    2















    I try to convert a latex pdf to png and the background should be transparent.



    So I use pdftopng from XpdfReader for windows to convert: (bat-File)



    pdflatex Other.tex
    pdfcrop Other.pdf
    pdftopng -r 300 Other-crop.pdf Other
    del Other-crop.pdf


    The source is:



    documentclass[border=10pt,tikz]{standalone}
    usepackage{tikz}

    begin{document}

    begin{tikzpicture}
    draw [very thick,fill=green!20!white]
    (-4, 4) circle (2.0cm) node {textbf{A}};
    end{tikzpicture}

    end{document}


    from the example how to remove the background for png picture



    with the result:



    enter image description here



    Is there a way to convert the pdf to a png with a transparent background using pdftopng?










    share|improve this question

























      2












      2








      2








      I try to convert a latex pdf to png and the background should be transparent.



      So I use pdftopng from XpdfReader for windows to convert: (bat-File)



      pdflatex Other.tex
      pdfcrop Other.pdf
      pdftopng -r 300 Other-crop.pdf Other
      del Other-crop.pdf


      The source is:



      documentclass[border=10pt,tikz]{standalone}
      usepackage{tikz}

      begin{document}

      begin{tikzpicture}
      draw [very thick,fill=green!20!white]
      (-4, 4) circle (2.0cm) node {textbf{A}};
      end{tikzpicture}

      end{document}


      from the example how to remove the background for png picture



      with the result:



      enter image description here



      Is there a way to convert the pdf to a png with a transparent background using pdftopng?










      share|improve this question














      I try to convert a latex pdf to png and the background should be transparent.



      So I use pdftopng from XpdfReader for windows to convert: (bat-File)



      pdflatex Other.tex
      pdfcrop Other.pdf
      pdftopng -r 300 Other-crop.pdf Other
      del Other-crop.pdf


      The source is:



      documentclass[border=10pt,tikz]{standalone}
      usepackage{tikz}

      begin{document}

      begin{tikzpicture}
      draw [very thick,fill=green!20!white]
      (-4, 4) circle (2.0cm) node {textbf{A}};
      end{tikzpicture}

      end{document}


      from the example how to remove the background for png picture



      with the result:



      enter image description here



      Is there a way to convert the pdf to a png with a transparent background using pdftopng?







      tikz-pgf transparency latex-2-png






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Mar TinMar Tin

      945




      945






















          2 Answers
          2






          active

          oldest

          votes


















          3














          With ImageMagick instead of pdftopng it's simple:



          convert -density 300 Other-crop.pdf Other.png



          enter image description here







          share|improve this answer








          New contributor




          user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

            – Mar Tin
            54 mins ago











          • @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

            – user181777
            43 mins ago





















          3














          Wtf, found solution after seconds. I am so sorry. Instead of deleting the question, I post the answer, maybe someone helps. I simply added the alpha argument:



          pdflatex Other.tex
          pdfcrop Other.pdf
          pdftopng -r 300 -alpha Other-crop.pdf Other
          del Other-crop.pdf





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476182%2fhow-to-make-transparent-background-from-pdf-to-png%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            With ImageMagick instead of pdftopng it's simple:



            convert -density 300 Other-crop.pdf Other.png



            enter image description here







            share|improve this answer








            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

              – Mar Tin
              54 mins ago











            • @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

              – user181777
              43 mins ago


















            3














            With ImageMagick instead of pdftopng it's simple:



            convert -density 300 Other-crop.pdf Other.png



            enter image description here







            share|improve this answer








            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

              – Mar Tin
              54 mins ago











            • @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

              – user181777
              43 mins ago
















            3












            3








            3







            With ImageMagick instead of pdftopng it's simple:



            convert -density 300 Other-crop.pdf Other.png



            enter image description here







            share|improve this answer








            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.










            With ImageMagick instead of pdftopng it's simple:



            convert -density 300 Other-crop.pdf Other.png



            enter image description here








            share|improve this answer








            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 1 hour ago









            user181777user181777

            1085




            1085




            New contributor




            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            user181777 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.













            • Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

              – Mar Tin
              54 mins ago











            • @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

              – user181777
              43 mins ago





















            • Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

              – Mar Tin
              54 mins ago











            • @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

              – user181777
              43 mins ago



















            Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

            – Mar Tin
            54 mins ago





            Do you have an idea what I have to do, that for example the "A" in the circle get transparent too? Is there a way in tikz/latex to print something that interpreted as transparent in png?

            – Mar Tin
            54 mins ago













            @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

            – user181777
            43 mins ago







            @MarTin If you change the colour of A to white (or any other colour that is not the same as the line around the circle), you can use the -transparent white option

            – user181777
            43 mins ago













            3














            Wtf, found solution after seconds. I am so sorry. Instead of deleting the question, I post the answer, maybe someone helps. I simply added the alpha argument:



            pdflatex Other.tex
            pdfcrop Other.pdf
            pdftopng -r 300 -alpha Other-crop.pdf Other
            del Other-crop.pdf





            share|improve this answer




























              3














              Wtf, found solution after seconds. I am so sorry. Instead of deleting the question, I post the answer, maybe someone helps. I simply added the alpha argument:



              pdflatex Other.tex
              pdfcrop Other.pdf
              pdftopng -r 300 -alpha Other-crop.pdf Other
              del Other-crop.pdf





              share|improve this answer


























                3












                3








                3







                Wtf, found solution after seconds. I am so sorry. Instead of deleting the question, I post the answer, maybe someone helps. I simply added the alpha argument:



                pdflatex Other.tex
                pdfcrop Other.pdf
                pdftopng -r 300 -alpha Other-crop.pdf Other
                del Other-crop.pdf





                share|improve this answer













                Wtf, found solution after seconds. I am so sorry. Instead of deleting the question, I post the answer, maybe someone helps. I simply added the alpha argument:



                pdflatex Other.tex
                pdfcrop Other.pdf
                pdftopng -r 300 -alpha Other-crop.pdf Other
                del Other-crop.pdf






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 1 hour ago









                Mar TinMar Tin

                945




                945






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476182%2fhow-to-make-transparent-background-from-pdf-to-png%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Щит и меч (фильм) Содержание Названия серий | Сюжет |...

                    is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

                    Meter-Bus Содержание Параметры шины | Стандартизация |...