V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yanshenxian
V2EX  ›  程序员

有什么便宜的图像处理服务吗

  •  
  •   yanshenxian · Jul 4, 2020 · 3417 views
    This topic created in 2126 days ago, the information mentioned may be changed or developed.

    本来想用 cf 的 worker 来处理图片, 但是只有 Business Plan ($200/月) 才支持...

    有没有便宜的方案

    只要基本的缩放就行

    16 replies    2020-07-06 10:47:27 +08:00
    airqj
        1
    airqj  
       Jul 4, 2020
    七牛云对象存储,带缩放参数访问即可
    阿里云 腾讯云应该也可以吧
    yanshenxian
        2
    yanshenxian  
    OP
       Jul 4, 2020
    @airqj 国内的服务带宽费太贵了..
    niubee1
        3
    niubee1  
       Jul 4, 2020   ❤️ 1
    基本的缩放,用 pip install pillow 不香么?
    Jaufey
        4
    Jaufey  
       Jul 5, 2020   ❤️ 1
    除去 PIL,我会先去 rapidapi 找 API...
    yuananf
        5
    yuananf  
       Jul 5, 2020 via Android
    @WhateverYouLike +1 rapidapi 很香
    hahaayaoyaoyao
        6
    hahaayaoyaoyao  
       Jul 5, 2020 via Android
    Opencv.还有一个 convert 命令(需要安装工具)
    leishi1313
        7
    leishi1313  
       Jul 5, 2020 via Android
    看量了,可以看看 serverless
    Lax
        8
    Lax  
       Jul 5, 2020
    nginx 原生就支持图片缩放 ngx_http_image_filter_module 。如果图片是自己的服务器上保存,几乎没什么额外成本增加。
    chihiro2014
        9
    chihiro2014  
       Jul 5, 2020 via iPhone
    看下谷歌的 squoosh ?
    786375312123
        10
    786375312123  
       Jul 5, 2020
    pillow 学十五分钟搞定
    mumbler
        11
    mumbler  
       Jul 5, 2020 via Android
    @yanshenxian OSS+CDN,无线带宽,流量 4 毛钱一个 G
    yuananf
        12
    yuananf  
       Jul 5, 2020
    最便宜的应该是自建 aws api gateway + lambda 这种,量不大的话基本上不花钱
    yanshenxian
        13
    yanshenxian  
    OP
       Jul 5, 2020
    @Lax 图片不是存储在本机上...
    @yuananf aws cache 的流量费用和 s3 存储费用应该挺花钱的吧
    daimaosix
        14
    daimaosix  
       Jul 5, 2020
    自建一个 zimg
    danbai
        15
    danbai  
    PRO
       Jul 5, 2020
    https://code.google.com/archive/p/timthumb/ 支持裁剪缩放 还能缓存
    aliyun75
        16
    aliyun75  
       Jul 6, 2020
    可以用阿里云的 OSS,我这边阿里云产品能提供额外返现优惠,有问题或需求联系我 VX:一三一零一二三四五三九
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2471 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 05:54 · PVG 13:54 · LAX 22:54 · JFK 01:54
    ♥ Do have faith in what you're doing.