runtime error: slice bounds out of range [12583936:12582912]
github.com/adrium/goheif@v0.0.0-20230113233934-ca402e77a786/goheif.go:167 +0xaa0
goheif code:
// copy y stride data
for i := 0; i < rect.Dy(); i += 1 {
copy(out.Y[(ytileHeight+i)out.YStride+xycc.YStride:], ycc.Y[iycc.YStride:(i+1)*ycc.YStride])
}
for some reasion, i can not give the picture cause this panic
runtime error: slice bounds out of range [12583936:12582912]
github.com/adrium/goheif@v0.0.0-20230113233934-ca402e77a786/goheif.go:167 +0xaa0
goheif code:
// copy y stride data
for i := 0; i < rect.Dy(); i += 1 {
copy(out.Y[(ytileHeight+i)out.YStride+xycc.YStride:], ycc.Y[iycc.YStride:(i+1)*ycc.YStride])
}
for some reasion, i can not give the picture cause this panic