...
This commit is contained in:
parent
7c2317d301
commit
9cb83a6ec2
@ -24,7 +24,7 @@ func add_frame(imgd *image_data, img image.Image, is_opaque bool) *image_frame {
|
|||||||
img = imaging.FlipH(img)
|
img = imaging.FlipH(img)
|
||||||
}
|
}
|
||||||
b := img.Bounds()
|
b := img.Bounds()
|
||||||
f := image_frame{width: b.Dx(), height: b.Dy(), number: len(imgd.frames), left: b.Min.X, top: b.Min.Y}
|
f := image_frame{width: b.Dx(), height: b.Dy(), number: len(imgd.frames) + 1, left: b.Min.X, top: b.Min.Y}
|
||||||
dest_rect := image.Rect(0, 0, f.width, f.height)
|
dest_rect := image.Rect(0, 0, f.width, f.height)
|
||||||
var final_img image.Image
|
var final_img image.Image
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user