定制 kodus/jpeg 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kodus/jpeg

最新稳定版本:1.3.0

Composer 安装命令:

composer require kodus/jpeg

包简介

simple service-wrapper for the jpeg-recompress tool (for Linux/Mac/Windows)

README 文档

README

Wrapper around jpeg-recompress for Linux/Mac/Windows.

Build Status PHP Version PHP Version

Includes a bundled release 2.1.1 of the JPEG-Archive binaries as provided by Daniel G. Taylor.

Setup

You may need to set permissions in order to run the built-in binaries.

Run the test-suite to see if the built-in defaults make sense for your system:

vendor/bin/codeception run

Usage

$service = new JPEGService();

$service->compress("input.jpg", "output.jpg");

Use the optional constructor arguments to specify a custom binary path (in case none of the built-in binaries work for you) as well as customizing the command-line arguments.

统计信息

  • 总下载量: 31.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-25