Bos图片处理

1.上传图片(windows-----linux)

rz

2.下载图片(linux-------windows)

sz test.jpg

3.查看图片</home/work/python/bin>

· ./bce bos ls -a "bos:/taihe-music/audio/AU-IG0-14-00112_013 Funk A Short.wav"

4.上传图片

/home/sunliujun/python-2.7.6/bin/bce bos cp '1.jpg' 'bos:/business/tmall/pic/7817d1575def5c1e230c2469e8d8886b.jpg'

5. 合成图片

/home/work/odp_api/php/bin/php index.php

6.时间戳

https://tool.lu/timestamp/

7.python 7.9在linux下安装

https://www.cnblogs.com/toulanboy/articles/7753502.html

8.对象存储box

https://cloud.baidu.com/doc/BOS/BestPractise.html#HTTPS.E4.BC.A0.E8.BE.93.E5.8A.A0.E5.AF.86.E5.AE.9E.E8.B7.B5

9. 存在的问题

{

1.是否统一图片的大小;

}

注:使用“history”命令查看历史命令;

10.图片处理

https://cloud.baidu.com/doc/BOS/API.html#.E5.9B.BE.E7.89.87.E8.A3.81.E5.89.AA

11.图片水印< watermark-->wm 0:关闭 1:图片水印 2:文字水印 >

{

参数:https://cloud.baidu.com/doc/BOS/API.html#.E6.96.87.E5.AD.97.E6.B0.B4.E5.8D.B0

}

12.文字处理

{

参数:https://cloud.baidu.com/doc/BOS/API.html#.E6.96.87.E5.AD.97.E6.B0.B4.E5.8D.B0

}

13.获取图片信息

{

方式:http://imgdoc.bce.baidu.com/bce-documentation/BOS/image.jpg?exif

}

猜你喜欢

转载自blog.csdn.net/cyd_csdn/article/details/85062749