differences between -resize and -size, and between -repage and -page for convert? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy?How to mount a .jpg centered into a .pdf (using defined page size and borders)?Imagemagick resizeImagemagick convert incorrectly sizes landscape pdfsHow to create ico file with more than one imageImage size with gscan2pdf and ImageMagick `convert` bloatWays to convert and combine image files into a pdf file?Pack images into PDFHow to get convert to not interpolate pixels?Convert PDF to images in 1920x1080

How to call a function with default parameter through a pointer to function that is the return of another function?

The logistics of corpse disposal

Why was the term "discrete" used in discrete logarithm?

What's the purpose of writing one's academic biography in the third person?

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

Why didn't this character "real die" when they blew their stack out in Altered Carbon?

51k Euros annually for a family of 4 in Berlin: Is it enough?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

How to deal with a team lead who never gives me credit?

Extract all GPU name, model and GPU ram

How widely used is the term Treppenwitz? Is it something that most Germans know?

What LEGO pieces have "real-world" functionality?

What is Arya's weapon design?

Echoing a tail command produces unexpected output?

Is it fair for a professor to grade us on the possession of past papers?

How to find out what spells would be useless to a blind NPC spellcaster?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

Can I cast Passwall to drop an enemy into a 20-foot pit?

Why are Kinder Surprise Eggs illegal in the USA?

How to run gsettings for another user Ubuntu 18.04.2 LTS

What does this icon in iOS Stardew Valley mean?

If a contract sometimes uses the wrong name, is it still valid?

Should I discuss the type of campaign with my players?



differences between -resize and -size, and between -repage and -page for convert?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy?How to mount a .jpg centered into a .pdf (using defined page size and borders)?Imagemagick resizeImagemagick convert incorrectly sizes landscape pdfsHow to create ico file with more than one imageImage size with gscan2pdf and ImageMagick `convert` bloatWays to convert and combine image files into a pdf file?Pack images into PDFHow to get convert to not interpolate pixels?Convert PDF to images in 1920x1080



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















For Imagick's convert, what are the differences



  • between -resize and -size, and

  • between -repage and -page?

If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It seems like -page a4 works as it intends to, while -repage a4 doesn't make any change.)



From its manpage



-size geometry width and height of image

-resize geometry resize the image

-page geometry size and location of an image canvas (setting)

-repage geometry size and location of an image canvas









share|improve this question






























    2















    For Imagick's convert, what are the differences



    • between -resize and -size, and

    • between -repage and -page?

    If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It seems like -page a4 works as it intends to, while -repage a4 doesn't make any change.)



    From its manpage



    -size geometry width and height of image

    -resize geometry resize the image

    -page geometry size and location of an image canvas (setting)

    -repage geometry size and location of an image canvas









    share|improve this question


























      2












      2








      2








      For Imagick's convert, what are the differences



      • between -resize and -size, and

      • between -repage and -page?

      If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It seems like -page a4 works as it intends to, while -repage a4 doesn't make any change.)



      From its manpage



      -size geometry width and height of image

      -resize geometry resize the image

      -page geometry size and location of an image canvas (setting)

      -repage geometry size and location of an image canvas









      share|improve this question
















      For Imagick's convert, what are the differences



      • between -resize and -size, and

      • between -repage and -page?

      If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It seems like -page a4 works as it intends to, while -repage a4 doesn't make any change.)



      From its manpage



      -size geometry width and height of image

      -resize geometry resize the image

      -page geometry size and location of an image canvas (setting)

      -repage geometry size and location of an image canvas






      imagemagick






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '14 at 19:51







      Tim

















      asked Nov 15 '14 at 19:18









      TimTim

      28.7k79270494




      28.7k79270494




















          2 Answers
          2






          active

          oldest

          votes


















          2














          -size: Input Settings are specifically restricted to controlling the creation of images that are created or read in. Typically they are used to assign or override specific meta-data that is to be associated with the image(s) created after that setting was defined. They are created or read in from an external file.



          -label -delay -dispose -page -comment -size


          Remember, they are ONLY applied when an image is created or read in and are otherwise completely ignored.



          -resize: Just resize an image.



          -page and -repage:
          With IM version 6, command line restructure, the -page option became purely a image read/create setting for use in creating GIF animations and Layers of Images. As such separate -repage and -set page operators were added to allow users to set or change the virtual canvas information.






          share|improve this answer






























            2














            Looking at the ImageMagick site the answer is different for both.



            The size & resize options both do the same thing however can accept different inputs. The size option allows you to give the desired resolution, for example 640x480. The resize option allows you to provide the desired resolution as well, however the resize option also allows you to provide a % value of the current image, such as 75%.



            The repage option is modifying the entire image canvas as opposed to just the image, which the page option is setting, this one is a little less clear to me but the links below should help clear things up.



            Sources:



            http://www.imagemagick.org/script/command-line-options.php#size



            http://www.imagemagick.org/script/command-line-options.php#resize



            I can only post a maximum of 2 links but if you change the text after the # to page & repage it will take you to the desired page.






            share|improve this answer

























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              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%2funix.stackexchange.com%2fquestions%2f168155%2fdifferences-between-resize-and-size-and-between-repage-and-page-for-convert%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









              2














              -size: Input Settings are specifically restricted to controlling the creation of images that are created or read in. Typically they are used to assign or override specific meta-data that is to be associated with the image(s) created after that setting was defined. They are created or read in from an external file.



              -label -delay -dispose -page -comment -size


              Remember, they are ONLY applied when an image is created or read in and are otherwise completely ignored.



              -resize: Just resize an image.



              -page and -repage:
              With IM version 6, command line restructure, the -page option became purely a image read/create setting for use in creating GIF animations and Layers of Images. As such separate -repage and -set page operators were added to allow users to set or change the virtual canvas information.






              share|improve this answer



























                2














                -size: Input Settings are specifically restricted to controlling the creation of images that are created or read in. Typically they are used to assign or override specific meta-data that is to be associated with the image(s) created after that setting was defined. They are created or read in from an external file.



                -label -delay -dispose -page -comment -size


                Remember, they are ONLY applied when an image is created or read in and are otherwise completely ignored.



                -resize: Just resize an image.



                -page and -repage:
                With IM version 6, command line restructure, the -page option became purely a image read/create setting for use in creating GIF animations and Layers of Images. As such separate -repage and -set page operators were added to allow users to set or change the virtual canvas information.






                share|improve this answer

























                  2












                  2








                  2







                  -size: Input Settings are specifically restricted to controlling the creation of images that are created or read in. Typically they are used to assign or override specific meta-data that is to be associated with the image(s) created after that setting was defined. They are created or read in from an external file.



                  -label -delay -dispose -page -comment -size


                  Remember, they are ONLY applied when an image is created or read in and are otherwise completely ignored.



                  -resize: Just resize an image.



                  -page and -repage:
                  With IM version 6, command line restructure, the -page option became purely a image read/create setting for use in creating GIF animations and Layers of Images. As such separate -repage and -set page operators were added to allow users to set or change the virtual canvas information.






                  share|improve this answer













                  -size: Input Settings are specifically restricted to controlling the creation of images that are created or read in. Typically they are used to assign or override specific meta-data that is to be associated with the image(s) created after that setting was defined. They are created or read in from an external file.



                  -label -delay -dispose -page -comment -size


                  Remember, they are ONLY applied when an image is created or read in and are otherwise completely ignored.



                  -resize: Just resize an image.



                  -page and -repage:
                  With IM version 6, command line restructure, the -page option became purely a image read/create setting for use in creating GIF animations and Layers of Images. As such separate -repage and -set page operators were added to allow users to set or change the virtual canvas information.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 15 '14 at 20:12









                  jherranjherran

                  2,33931328




                  2,33931328























                      2














                      Looking at the ImageMagick site the answer is different for both.



                      The size & resize options both do the same thing however can accept different inputs. The size option allows you to give the desired resolution, for example 640x480. The resize option allows you to provide the desired resolution as well, however the resize option also allows you to provide a % value of the current image, such as 75%.



                      The repage option is modifying the entire image canvas as opposed to just the image, which the page option is setting, this one is a little less clear to me but the links below should help clear things up.



                      Sources:



                      http://www.imagemagick.org/script/command-line-options.php#size



                      http://www.imagemagick.org/script/command-line-options.php#resize



                      I can only post a maximum of 2 links but if you change the text after the # to page & repage it will take you to the desired page.






                      share|improve this answer





























                        2














                        Looking at the ImageMagick site the answer is different for both.



                        The size & resize options both do the same thing however can accept different inputs. The size option allows you to give the desired resolution, for example 640x480. The resize option allows you to provide the desired resolution as well, however the resize option also allows you to provide a % value of the current image, such as 75%.



                        The repage option is modifying the entire image canvas as opposed to just the image, which the page option is setting, this one is a little less clear to me but the links below should help clear things up.



                        Sources:



                        http://www.imagemagick.org/script/command-line-options.php#size



                        http://www.imagemagick.org/script/command-line-options.php#resize



                        I can only post a maximum of 2 links but if you change the text after the # to page & repage it will take you to the desired page.






                        share|improve this answer



























                          2












                          2








                          2







                          Looking at the ImageMagick site the answer is different for both.



                          The size & resize options both do the same thing however can accept different inputs. The size option allows you to give the desired resolution, for example 640x480. The resize option allows you to provide the desired resolution as well, however the resize option also allows you to provide a % value of the current image, such as 75%.



                          The repage option is modifying the entire image canvas as opposed to just the image, which the page option is setting, this one is a little less clear to me but the links below should help clear things up.



                          Sources:



                          http://www.imagemagick.org/script/command-line-options.php#size



                          http://www.imagemagick.org/script/command-line-options.php#resize



                          I can only post a maximum of 2 links but if you change the text after the # to page & repage it will take you to the desired page.






                          share|improve this answer















                          Looking at the ImageMagick site the answer is different for both.



                          The size & resize options both do the same thing however can accept different inputs. The size option allows you to give the desired resolution, for example 640x480. The resize option allows you to provide the desired resolution as well, however the resize option also allows you to provide a % value of the current image, such as 75%.



                          The repage option is modifying the entire image canvas as opposed to just the image, which the page option is setting, this one is a little less clear to me but the links below should help clear things up.



                          Sources:



                          http://www.imagemagick.org/script/command-line-options.php#size



                          http://www.imagemagick.org/script/command-line-options.php#resize



                          I can only post a maximum of 2 links but if you change the text after the # to page & repage it will take you to the desired page.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 10 hours ago









                          Rui F Ribeiro

                          42.1k1484142




                          42.1k1484142










                          answered Nov 15 '14 at 20:02









                          Chris DavidsonChris Davidson

                          1,192610




                          1,192610



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Unix & Linux 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%2funix.stackexchange.com%2fquestions%2f168155%2fdifferences-between-resize-and-size-and-between-repage-and-page-for-convert%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







                              -imagemagick

                              Popular posts from this blog

                              Frič See also Navigation menuinternal link

                              Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

                              fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox