mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
Fix typo
Co-Authored-By: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
40a9a893da
commit
780105d695
1 changed files with 1 additions and 1 deletions
2
vips.go
2
vips.go
|
|
@ -642,7 +642,7 @@ func vipsImageType(buf []byte) ImageType {
|
|||
if IsTypeSupported(MAGICK) && strings.HasSuffix(readImageType(buf), "MagickBuffer") {
|
||||
return MAGICK
|
||||
}
|
||||
// NOTE: libheif current;y only supports heic sub types; see:
|
||||
// NOTE: libheif currently only supports heic sub types; see:
|
||||
// https://github.com/strukturag/libheif/issues/83#issuecomment-421427091
|
||||
if IsTypeSupported(HEIF) && buf[4] == 0x66 && buf[5] == 0x74 && buf[6] == 0x79 && buf[7] == 0x70 &&
|
||||
buf[8] == 0x68 && buf[9] == 0x65 && buf[10] == 0x69 && buf[11] == 0x63 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue