Commit 15c7ad99 by Li Feifei

add width hegight

parent fdbd85fa
Pipeline #14949 passed with stages
in 1 minute 4 seconds
...@@ -494,7 +494,7 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) ([]inte ...@@ -494,7 +494,7 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) ([]inte
imageInfo = append(imageInfo, fileName) imageInfo = append(imageInfo, fileName)
imageInfo = append(imageInfo, c.Width) imageInfo = append(imageInfo, c.Width)
imageInfo = append(imageInfo, c.Height) imageInfo = append(imageInfo, c.Height)
log.Println("ImageInfo == ", imageInfo)
return imageInfo, bucket.PutObject(objectPathName+fileName, r) 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