2020-06-08 03:29:51 +03:00
|
|
|
package tiff
|
|
|
|
|
|
|
|
// https://exiftool.org/TagNames/EXIF.html
|
2021-10-01 18:08:03 +03:00
|
|
|
// TODO: JPEGInterchangeFormat/JPEGInterchangeFormatLength, seem to just after the exif tag usually?
|
2020-06-08 03:29:51 +03:00
|
|
|
|
|
|
|
import (
|
2021-08-17 13:06:32 +03:00
|
|
|
"github.com/wader/fq/format"
|
|
|
|
"github.com/wader/fq/pkg/decode"
|
2022-07-16 19:39:57 +03:00
|
|
|
"github.com/wader/fq/pkg/interp"
|
2020-06-08 03:29:51 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
// currently just a alias for tiff
|
|
|
|
|
|
|
|
func init() {
|
2022-07-16 19:39:57 +03:00
|
|
|
interp.RegisterFormat(decode.Format{
|
2020-06-08 03:29:51 +03:00
|
|
|
Name: format.EXIF,
|
|
|
|
Description: "Exchangeable Image File Format",
|
|
|
|
Groups: []string{},
|
|
|
|
DecodeFn: tiffDecode,
|
|
|
|
})
|
|
|
|
}
|