Skip to content

[Help]Can it compress a tif image of 1GB? #171

Description

@Ted-bug

I want to compress a tif image of 1GB or more, but it always returns unknown format .But it can successfully compress 700MB tif image.

f := "E:\\workPlace\\sys-tool\\example\\baidu\\V24080165.tif"
fs, err := os.Open(f)
if err != nil {
fmt.Println(err)
return
}
img, err := imaging.Decode(fs)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(img.Bounds().Dx())

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions