mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
1104f0fdd1
commit
012569dbc0
15 files changed
+390
-50
No files matched your search
@@ -114,7 +114,6 @@ func imagePageMetadata(data []byte, format string, dpi float64) (imagePageInfo,
|
||||
return info, err
|
||||
}
|
||||
info.orientation = orientation
|
||||
// PNG的物理尺寸由pHYs定义,EXIF只用于方向。
|
||||
if format == "jpeg" && x > 0 && y > 0 {
|
||||
info.xdpi, info.ydpi = x, y
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user