定制 filmtools/speedpoint 二次开发

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

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

filmtools/speedpoint

Composer 安装命令:

composer require filmtools/speedpoint

包简介

Interfaces, classes and traits for dealing with Speed points in film developing

README 文档

README

Interfaces, classes and decorators for the speed point of a film developing.

Packagist PHP version Build Status Scrutinizer Code Quality Code Coverage Build Status

Installation

$ composer require filmtools/speedpoint

Interfaces and Classes

SpeedPointInterface

use FilmTools\SpeedPoint\SpeedPointInterface;  

getType() : string|null Returns name or description (film speed evaluation method).

getValue() : float|null Returns the speed point exposure value which yields a certain minimum density.

getSpeedLoss() : float|null Returns the difference between the real speed point and the exposure value where the minimum density had been expected.

getEICorrection() : float|null Converts the "speed loss" to Exposure Index (°DIN) steps. The correction value is negative when the film needs “more light”.

valid() : bool Returns true if the value is valid.

SpeedPointProviderInterface

use FilmTools\SpeedPoint\SpeedPointProviderInterface; 

getSpeedPoint() : SpeedPointInterface Returns a Speed point instance.

SpeedPoint

The ready-to-use SpeedPoint class extends SpeedPointAbstract and implements the SpeedPointInterface.

use FilmTools\SpeedPoint\SpeedPoint;

// The exposure value where a density is reached
$logH = 0.46;

// Text description is optional. 
$sp = new SpeedPoint( $logH );
$sp = new SpeedPoint( $logH, "Description" );

// Examples:
$sp->getValue();        // 0.46
$sp->getSpeedLoss();    // 0.16
$sp->getEICorrection(); // -3.0
$sp->getType();         // "Description", may be null.

Development and Testing

$ git clone https://github.com/filmtools/speedpoint.git
$ cd speedpoint
$ composer install

$ composer test

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固