iT邦幫忙

2021 iThome 鐵人賽

DAY 22
0
Modern Web

基礎python,讓你學點東西系列 第 22

[Day22]-用python處理影像檔案

  • 影像的編輯
  1. 更改影像大小
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644Qh1Xj5ONZY.png
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644VwZj5o6vUx.jpg
    https://ithelp.ithome.com.tw/upload/images/20211004/201406442iIPsC3Jid.jpg
  2. 影像的翻轉與旋轉
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644DjAAQdXEFI.png
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644x13vzu3MDi.png
  3. 影像像素的編輯
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644bcAAte6iuD.png
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644mt9zTqlpY0.png
  • 裁切、複製與影像合成
  1. 裁切與複製
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644pBQQ40Um29.png
  2. 影像合成
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644KB2It34Vuq.png
    https://ithelp.ithome.com.tw/upload/images/20211004/2014064423kwv72ov5.jpg
  3. 將裁切的圖片填滿影像區間
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644ahku0KYWqa.png
    https://ithelp.ithome.com.tw/upload/images/20211004/201406443bPkdOlqhZ.png
  • 影像濾鏡
  1. Pillow模組有ImageFilter模組,使用時可以增加filter()方法加上濾鏡
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644HfwsverlAo.png
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644XXqQp0o3CX.jpg
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644qIPhAT2r2h.jpg
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644xxCS0YYfhR.jpg
    https://ithelp.ithome.com.tw/upload/images/20211004/20140644fkri2r0oEA.jpg

上一篇
[Day21]- 正則表達式
下一篇
[Day23]-用python處理影像檔案2
系列文
基礎python,讓你學點東西30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言