Error during converting jpg to pdf

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Each time I want to convert jpg file to pdf by this command



convert *.jpg pictures.pdf


I have this error message:



convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.









share|improve this question



















  • 1




    convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
    – Vijay
    1 hour ago














up vote
1
down vote

favorite












Each time I want to convert jpg file to pdf by this command



convert *.jpg pictures.pdf


I have this error message:



convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.









share|improve this question



















  • 1




    convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
    – Vijay
    1 hour ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Each time I want to convert jpg file to pdf by this command



convert *.jpg pictures.pdf


I have this error message:



convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.









share|improve this question















Each time I want to convert jpg file to pdf by this command



convert *.jpg pictures.pdf


I have this error message:



convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.






pdf convert






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 hours ago









Stefan Hamcke

3321521




3321521










asked 4 hours ago









Adon Naaman

30110




30110







  • 1




    convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
    – Vijay
    1 hour ago












  • 1




    convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
    – Vijay
    1 hour ago







1




1




convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
– Vijay
1 hour ago




convert *.jpg pictures.pdf will overwrite all pdf files as one file pictures.pdf?
– Vijay
1 hour ago










3 Answers
3






active

oldest

votes

















up vote
3
down vote



accepted










This problems comes from a security update:
https://launchpad.net/ubuntu/+source/imagemagick/8:6.8.9.9-7ubuntu5.13



Someone reported it as a bug:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563



As a temporary fix, I edited /etc/ImageMagick-6/policy.xml and changed the PDF rights from none to read|write there. Not sure about the implications, but at least it allows me to get things done.






share|improve this answer








New contributor




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

















  • Thanks man its works successfully
    – Adon Naaman
    12 mins ago

















up vote
0
down vote













Why trouble? try online links to easily convert jpg to pdf.Or use LibreOffice word to export the file as a pdfsee this image






share|improve this answer




















  • I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
    – Adon Naaman
    4 hours ago










  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – abu_bua
    31 mins ago

















up vote
0
down vote













edit /etc/ImageMagick-6/policy.xml and change the PDF rights from none to read|write



policy domain="coder" rights="read|write" pattern="PDF" />



as suggested by @youngfrog



then



for i in *.jpg; do convert "$i%.*.jpg" "$i%.*.pdf"; done





share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081695%2ferror-during-converting-jpg-to-pdf%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    This problems comes from a security update:
    https://launchpad.net/ubuntu/+source/imagemagick/8:6.8.9.9-7ubuntu5.13



    Someone reported it as a bug:
    https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563



    As a temporary fix, I edited /etc/ImageMagick-6/policy.xml and changed the PDF rights from none to read|write there. Not sure about the implications, but at least it allows me to get things done.






    share|improve this answer








    New contributor




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

















    • Thanks man its works successfully
      – Adon Naaman
      12 mins ago














    up vote
    3
    down vote



    accepted










    This problems comes from a security update:
    https://launchpad.net/ubuntu/+source/imagemagick/8:6.8.9.9-7ubuntu5.13



    Someone reported it as a bug:
    https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563



    As a temporary fix, I edited /etc/ImageMagick-6/policy.xml and changed the PDF rights from none to read|write there. Not sure about the implications, but at least it allows me to get things done.






    share|improve this answer








    New contributor




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

















    • Thanks man its works successfully
      – Adon Naaman
      12 mins ago












    up vote
    3
    down vote



    accepted







    up vote
    3
    down vote



    accepted






    This problems comes from a security update:
    https://launchpad.net/ubuntu/+source/imagemagick/8:6.8.9.9-7ubuntu5.13



    Someone reported it as a bug:
    https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563



    As a temporary fix, I edited /etc/ImageMagick-6/policy.xml and changed the PDF rights from none to read|write there. Not sure about the implications, but at least it allows me to get things done.






    share|improve this answer








    New contributor




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









    This problems comes from a security update:
    https://launchpad.net/ubuntu/+source/imagemagick/8:6.8.9.9-7ubuntu5.13



    Someone reported it as a bug:
    https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563



    As a temporary fix, I edited /etc/ImageMagick-6/policy.xml and changed the PDF rights from none to read|write there. Not sure about the implications, but at least it allows me to get things done.







    share|improve this answer








    New contributor




    YoungFrog 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




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









    answered 2 hours ago









    YoungFrog

    1464




    1464




    New contributor




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





    New contributor





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






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











    • Thanks man its works successfully
      – Adon Naaman
      12 mins ago
















    • Thanks man its works successfully
      – Adon Naaman
      12 mins ago















    Thanks man its works successfully
    – Adon Naaman
    12 mins ago




    Thanks man its works successfully
    – Adon Naaman
    12 mins ago












    up vote
    0
    down vote













    Why trouble? try online links to easily convert jpg to pdf.Or use LibreOffice word to export the file as a pdfsee this image






    share|improve this answer




















    • I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
      – Adon Naaman
      4 hours ago










    • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
      – abu_bua
      31 mins ago














    up vote
    0
    down vote













    Why trouble? try online links to easily convert jpg to pdf.Or use LibreOffice word to export the file as a pdfsee this image






    share|improve this answer




















    • I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
      – Adon Naaman
      4 hours ago










    • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
      – abu_bua
      31 mins ago












    up vote
    0
    down vote










    up vote
    0
    down vote









    Why trouble? try online links to easily convert jpg to pdf.Or use LibreOffice word to export the file as a pdfsee this image






    share|improve this answer












    Why trouble? try online links to easily convert jpg to pdf.Or use LibreOffice word to export the file as a pdfsee this image







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 4 hours ago









    Arjun K Shibu

    687




    687











    • I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
      – Adon Naaman
      4 hours ago










    • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
      – abu_bua
      31 mins ago
















    • I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
      – Adon Naaman
      4 hours ago










    • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
      – abu_bua
      31 mins ago















    I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
    – Adon Naaman
    4 hours ago




    I know man but I want to know what is the problem not to solve it only because i used to convert in this way without any error
    – Adon Naaman
    4 hours ago












    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – abu_bua
    31 mins ago




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – abu_bua
    31 mins ago










    up vote
    0
    down vote













    edit /etc/ImageMagick-6/policy.xml and change the PDF rights from none to read|write



    policy domain="coder" rights="read|write" pattern="PDF" />



    as suggested by @youngfrog



    then



    for i in *.jpg; do convert "$i%.*.jpg" "$i%.*.pdf"; done





    share|improve this answer


























      up vote
      0
      down vote













      edit /etc/ImageMagick-6/policy.xml and change the PDF rights from none to read|write



      policy domain="coder" rights="read|write" pattern="PDF" />



      as suggested by @youngfrog



      then



      for i in *.jpg; do convert "$i%.*.jpg" "$i%.*.pdf"; done





      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        edit /etc/ImageMagick-6/policy.xml and change the PDF rights from none to read|write



        policy domain="coder" rights="read|write" pattern="PDF" />



        as suggested by @youngfrog



        then



        for i in *.jpg; do convert "$i%.*.jpg" "$i%.*.pdf"; done





        share|improve this answer














        edit /etc/ImageMagick-6/policy.xml and change the PDF rights from none to read|write



        policy domain="coder" rights="read|write" pattern="PDF" />



        as suggested by @youngfrog



        then



        for i in *.jpg; do convert "$i%.*.jpg" "$i%.*.pdf"; done






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 43 mins ago

























        answered 49 mins ago









        Vijay

        332213




        332213



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081695%2ferror-during-converting-jpg-to-pdf%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            Long meetings (6-7 hours a day): Being “babysat” by supervisor

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Confectionery