Changing the resolution will affect the size of the EMF image.

Source: Internet
Author: User
When they are displayed on the target device and they also record the features of the target device, Enhanced Metafile images record their sizes. The image size displayed on the printer device is the same as the document size. There can be a major difference between the displayed size and the document size on the screen device because the physical features (resolutions) of the screen usually do not match the logical features used by windows.

The enhanced primitive File Header records the following information (and examples:

  • (In pixels), the device has a boundary of 1024x768.
  • The size of the Enhanced Metafile record of the device in millimeters: 320mm x 240 months
  • The boundary of the enhanced primitive file in the target device pixel: 224x179
  • Size of enhanced primitive file in 7001 micrometers: 8001 micrometers x 70mm micrometers (80mm x)

Therefore, the physical feature of the device indicates that the device has a resolution of 81.28 dpi x (81.28/1024*320 25.4*768/240) in units of dots per inch (DPI ).

Note:: The original image size is 25.4mm x 25.4mm.

When an image record of an enhanced primitive file is used, the size explicitly specifies the program generated by this file or the size automatically calculates the first three values of the operating system.

Microsoft Office uses the first two values and the final value to enhance the size of the Metafile image on the target device pixel: 1024*70.01/320,768*80.01/240 or 225x257. Therefore, you can use the logical DPI of the screen size, usually 96 (small font) or 120 (large font), to calculate the logical size of the enhanced primitive file. In this example, (use the example chart ):

96 DPI display: 59.53mm x 67.73 (2.34 "x 2.67 ")
120 DPI display: 47.63mm x 54.19 (1.88 "x 2.13 ")

Unfortunately, Enhanced Metafile images do not record the logic DPI of the target device. Microsoft Word must "Guess" that the logical DPI is the same as the current device. Word is used instead of minimizing the features of the current device recorded, which may cause any errors. For example, if the current device is 1280x960 pixels with a standard size of 320mm x 240 months:

96 DPI display: 74.09mm x 84.68 (2.92 "x 3.33 ")
120 DPI display: 59.28mm x 67.74 (2.33 "x 2.67 ")

These changes cause different aspect ratios to be enhanced. The hundreds of micrometers that the operating system records are inconsistent because the operating system obtains numbers (320, 240,) as the framework.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.