goodmoring;
i want to merg 2 image jepg ie the first image overlay the second in one A4 page have u any idea
cordialy
merg 2 image in one A4 page
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: merg 2 image in one A4 page
Overlay the images on a A4 page image of the right size!
their are many ways to do this, which are listed on...
http://www.imagemagick.org/Usage/layers/
the next question -- how big is an A4 page????...
well you can get IM to generate one, he right size for a particular density, in a tricky way...
For example at 72dpi (default density) IM reports that an A4 page is...
or 595 pixels by 842 pixels.
At 100dpi it is
See IM examples, Text Paged Image
http://www.imagemagick.org/Usage/text/#text
Hmmm the virtual-canvas size seem to be incorrect -- looks like a bug in the text: image generator.
I updated the above Example section to include the examplewhich returns
their are many ways to do this, which are listed on...
http://www.imagemagick.org/Usage/layers/
the next question -- how big is an A4 page????...
well you can get IM to generate one, he right size for a particular density, in a tricky way...
For example at 72dpi (default density) IM reports that an A4 page is...
Code: Select all
convert -page A4 text:/dev/null info:
text:/dev/null TEXT 595x842 595x842+0+0 16-bit DirectClass
At 100dpi it is
Code: Select all
convert -page A4 -density 100 text:/dev/null info:
text:/dev/null TEXT 826x1169 595x842+0+0 16-bit DirectClass
http://www.imagemagick.org/Usage/text/#text
Hmmm the virtual-canvas size seem to be incorrect -- looks like a bug in the text: image generator.
I updated the above Example section to include the example
Code: Select all
convert -page A5 -density 100 -units PixelsPerInch text:/dev/null \
-format 'Page Size at %x = %w x %h pixels' info:
Page Size at 100 PixelsPerInch = 583 x 826 pixels
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/