1 Standard TIFF
- Introduce warehouse
go get /cognusion/imaging
- Introduction
- Although the repository has been closed for 5 years, it has excellent processing capabilities and supports jpg\jpeg\png\gift\tiff, which is a functional expansion of the image package.
- if onlyAccording to the image package format, and returnThe specified structure,registerCustomizeImage type
Decoder
andEncoder
, you can complete your own picture processing.
- insufficient
It can only handle standard formatstiff
(Feature CodeII*
), BigTiff cannot be processed (feature codeII+
)
2 Expansion BigTiff, GeoTiff
againstimaging
The situation where BigTiff and GeoTiff cannot be handled, and other repositories need to be introduced: the returned format must beimage
image structure; correspondingDecode
、DecodeConfig
、Encode
。
- Introduce warehouse
go get /chai2010/tiff
- Register type processing before processing pictures
// File suffix, feature code, decoder, decoding configuration("tiff", "II+", , )
This is the end of this article about the implementation example of golang processing TIFF images. For more related content about golang processing TIFF images, please search for my previous articles or continue browsing the related articles below. I hope everyone will support me in the future!