Commit 2e90d9a8 by Li Feifei

add width hegight

parent 15c7ad99
Pipeline #14950 passed with stages
in 1 minute 5 seconds
......@@ -494,6 +494,7 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) ([]inte
imageInfo = append(imageInfo, fileName)
imageInfo = append(imageInfo, c.Width)
imageInfo = append(imageInfo, c.Height)
log.Println("path == ", objectPathName+fileName)
log.Println("ImageInfo == ", imageInfo)
return imageInfo, bucket.PutObject(objectPathName+fileName, r)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment