<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Imagor支持 Docker 的圖像處理服務器

          聯(lián)合創(chuàng)作 · 2023-09-29 15:40

          Imagor 是一個用 Go 和 libvips 編寫的快速、支持 Docker 的圖像處理服務器,使用 Thumbor URL 語法。

          Imagor使用的是最高效的圖像處理庫libvips(含govips)之一。它通常比使用最快速的ImageMagick和GraphicsMagick設置要快4-8倍。

          Imagor是一個易于擴展的Go庫,可以在任何Unix環(huán)境下安裝和使用,并且可以使用Docker進行容器化。

          Imagor采用了Thumbor的URL語法,涵蓋了大部分的網(wǎng)絡圖像處理用例。如果這些符合你的要求,Imagor將是一個輕量級的、高性能的替代者。

          Quick Start

          docker run -p 8000:8000 shumc/imagor -imagor-unsafe

          嘗試以下圖片網(wǎng)址:

          # original images
          https://raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher.png
          https://raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher-front.png
          
          http://localhost:8000/unsafe/500x500/top/https://raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher.png
          http://localhost:8000/unsafe/fit-in/500x500/filters:fill(white):format(jpeg)/raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher.png
          http://localhost:8000/unsafe/fit-in/-500x500/filters:hue(290):saturation(100):fill(yellow):format(jpeg):quality(80)/raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher.png
          http://localhost:8000/unsafe/fit-in/800x800/filters:fill(white):watermark(raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher-front.png,repeat,bottom,10):format(jpeg)/raw.githubusercontent.com/golang-samples/gopher-vector/master/gopher.png
          
          瀏覽 40
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  色哟哟国产 | 很很撸在线视频 | 自拍偷在线精品自拍偷无码专区 | 91在线免费视频 | 精品中文字幕视频 |