Skip to content

压缩后保留 exif 相关信息 #17

@Loofer

Description

@Loofer

1.官方 api 有 example 可以压缩后保留 exif location creation 等信息,请问可以增加一个配置项保留这些信息吗?
https://tinypng.com/developers/reference

curl https://api.tinify.com/output/2xnsp7jn34e5
--user api:YOUR_API_KEY
--header "Content-Type: application/json"
--data '{ "preserve": ["copyright", "creation"] }'
--dump-header /dev/stdout
--output optimized-copyright.jpg

copyright、creation、location

2.另外对于微信导出的图片名称为 mmexport16xx 后面一段为时间戳,请问可以增加一个配置在压缩图片后将微信导出的图片日期导出的时间写入 exif 吗?

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