]> granicus.if.org Git - imagemagick/commit
Do not refer to page in OptimizeLayerFrames (#987)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Mon, 19 Feb 2018 20:02:47 +0000 (05:02 +0900)
committerImageMagick <urban-warrior@users.noreply.github.com>
Mon, 19 Feb 2018 20:02:47 +0000 (15:02 -0500)
commitb5a7073da902c79264ef8d3ccc8dd715fed8222d
tree2f24373885717ef96ab9a7d1ef0e1a83e55943d2
parent589b5b3d370a7f4c81a233535c214417bc611a71
Do not refer to page in OptimizeLayerFrames (#987)

page dimension was used to create images to compare different disposal
methods. However, functions used for the comparisons, namely
CompareImagesBounds and IsBoundsCleared are based on the dimensions of
images themselves.

Creating image with page dimension is inefficient when converting images
with larger pages and therefore should be avoided.
MagickCore/layer.c