@@ -31,21 +31,23 @@ func EncodePicOperations(pic *PicOperations) string {
3131}
3232
3333type ImageProcessResult struct {
34- XMLName xml.Name `xml:"UploadResult"`
35- OriginalInfo * PicOriginalInfo `xml:"OriginalInfo,omitempty"`
36- ProcessObject * PicProcessObject `xml:"ProcessResults>Object,omitempty"`
34+ XMLName xml.Name `xml:"UploadResult"`
35+ OriginalInfo * PicOriginalInfo `xml:"OriginalInfo,omitempty"`
36+ ProcessResults * PicProcessObject `xml:"ProcessResults>Object,omitempty"`
3737}
3838type PicOriginalInfo struct {
3939 Key string `xml:"Key,omitempty"`
4040 Location string `xml:"Location,omitempty"`
4141 ImageInfo * PicImageInfo `xml:"ImageInfo,omitempty"`
42+ ETag string `xml:"ETag,omitempty"`
4243}
4344type PicImageInfo struct {
44- Format string `xml:"Format,omitempty"`
45- Width int `xml:"Width,omitempty"`
46- Height int `xml:"Height,omitempty"`
47- Size int `xml:"Size,omitempty"`
48- Quality int `xml:"Quality,omitempty"`
45+ Format string `xml:"Format,omitempty"`
46+ Width int `xml:"Width,omitempty"`
47+ Height int `xml:"Height,omitempty"`
48+ Quality int `xml:"Quality,omitempty"`
49+ Ave string `xml:"Ave,omitempty"`
50+ Orientation int `xml:"Orientation,omitempty"`
4951}
5052type PicProcessObject struct {
5153 Key string `xml:"Key,omitempty"`
@@ -55,6 +57,7 @@ type PicProcessObject struct {
5557 Height int `xml:"Height,omitempty"`
5658 Size int `xml:"Size,omitempty"`
5759 Quality int `xml:"Quality,omitempty"`
60+ ETag string `xml:"ETag,omitempty"`
5861 WatermarkStatus int `xml:"WatermarkStatus,omitempty"`
5962}
6063
0 commit comments