Why are certain layers in my layered image being cropped? Why is white space not added with the Size command?


From the documentation:

The image is scaled to be no larger than "size=." If you specify a normalized size, it is relative to the size of layer 0. If you specify both width and height, the source image is scaled (after crop= is applied) so that neither dimension exceeds the specified size. The aspect ratio of the source rectangle is maintained in all cases.

Compare this command to the width and height commands, which fills the entire area:

If scl= is not specified, the composite image is scaled to fit. If both wid= and hei= are specified, and scl= is not specified, then the image is scaled to fit entirely within the wid/hei rectangle, leaving as little background area exposed as possible. In this case, the image is positioned within the view rectangle according to the align= attribute.

The result of this is that some unexpected cropping can occur if sizing is done on the image used in layer 0.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책