linux CR2 to JPG
来源:互联网 发布:flash cs3 mac 中文 编辑:程序博客网 时间:2024/05/28 06:05
ufraw简介
发现The Unidentified Flying Raw(ufraw)是一个很不错的操作raw images的开源(GNU)工具。它可以独立运行,也可以作为gimp的插进运行。官网还给出了中文的使用说明。目前ufraw具备的功能有:
- 白平衡
- 灰阶
- 基础曲线
- 色彩管理
- 亮度和饱和度
- 裁剪和旋转
- 保存
- EXIF
ufraw的图标像一个UFO的样子,Unidentified Flying Object和Unidentified Flying Raw到底是什么关系并不清楚。
安装
在ubuntu下:
sudo apt-get install ufraw
GUI模式
安装完后,即可使用ufraw打开RC2的图像:
可以在图形模式下进行图像操作,然后保存为想要的格式。
命令行模式
可以在命令行下用ufraw-batch进行图像操作,例如格式转换为JPG:
xargs ufraw-batch --out-type jpg _MG_2849.RC2
如果有多个图像要处理呢?有多种方法,下面这种应该是最简单的,cd到包含CR2的文件夹,使用命令:
ufraw-batch --out-type jpg *.RC2
或者
ls *.CR2 | xargs ufraw-batch --out-type jpg
上图是运行过程,显示一共有291张照片,当前处理到第163个。
程序运行完后,jpg文件都在该文件夹下,可以移动到别的文件夹:
mv *.jpg new_path
另外,可以使用ufraw的生成ID文件功能,这种以ufraw为后缀名的文件,实际上是一种配置文件,其内容为:
<?xml version="1.0" encoding="utf-8"?><UFRaw Version='7'><InputFilename>/media/wlw/data/_MG_7386.CR2</InputFilename><OutputFilename>/media/wlw/data/_MG_7386.jpg</OutputFilename> <WB>Camera WB</WB> <WBFineTuning>0</WBFineTuning> <Temperature>3812</Temperature> <Green>1.096</Green> <ChannelMultipliers>1.6865 1.0000 1.9141 1.0000</ChannelMultipliers> <Lensfun> <LensModel>Canon, Canon EF 50mm f/1.4</LensModel> <Distortion Index='PanoTools lens model'> <Model Label='PanoTools lens model'> <a>0.002615</a> <b>-0.011230</b> <c>0.000000</c> </Model> </Distortion> <LensGeometry>Rectilinear</LensGeometry> </Lensfun><ExposureNorm>23508</ExposureNorm><CreateID>2</CreateID><BaseLinearCurve Current='yes'></BaseLinearCurve><LinearCurve Current='yes'></LinearCurve><MatrixInputProfile Current='yes'>Color matrix</MatrixInputProfile><sRGBOutputProfile Current='yes'>sRGB</sRGBOutputProfile><Make>Canon</Make><Model>EOS 60D</Model><Timestamp>Sun Jul 26 17:36:52 2015</Timestamp><Orientation>0</Orientation><ISOSpeed>800</ISOSpeed><Shutter>1/60 s</Shutter><Aperture>F2.8</Aperture><FocalLength>50.0 mm</FocalLength><FocalLength35></FocalLength35><Lens>Canon EF 50mm f/1.4 USM</Lens><EXIFSource>exiv2 0.23</EXIFSource><Crop>0 0 5219 3476</Crop><AspectRatio>1.501438</AspectRatio><Rotation>0.000000</Rotation><Log>ufraw_open: w:5202 h:3465 curvesize:0EXIF data read using exiv2, buflen 59706Scaling with darkness 0, saturation 12279, andmultipliers 0.881122 0.522449 1.000000 0.522449Loading Canon EOS 60D image from /media/wlw/data/_MG_7386.CR2 ...Black: 2048, Maximum: 12279Exposure Normalization set to 23508 (1.06 EV)</Log></UFRaw>
配置文件基本是自解释的,可以以此作为ufraw的参数:
ufraw-batch *.ufraw
该使用手册并没有提到类似photoshop的”格式刷”功能,但是我想可以使用这种配置文件的方式实现。
0 0
- linux CR2 to JPG
- 佳能CR2转JPG
- mac图片格式转换CR2->jpg
- python图像处理:CR2 to png
- Linux 64位下Oracle 12CR2安装(一)
- Linux 64位下Oracle 12CR2安装(二)
- Linux 64位下Oracle 12CR2安装(一)
- Linux 64位下Oracle 12CR2安装(二)
- Linux平台 Oracle 12cR2 RAC安装Part1:准备工作
- Linux平台 Oracle 12cR2 RAC安装Part1:准备工作
- Linux平台 Oracle 12cR2 RAC安装Part2:GI配置
- 图像转换(jpg to bmo)(bmp to jpg)
- 图像转换(jpg to bmo)(bmp to jpg)
- Convert FLV to jpg sequence
- bmp to jpg using gdi+
- linux文件系统结构图.jpg
- html转换为图片(html to jpg)
- Convert .hdf5 to .jpg with Matlab
- mysql变量
- RHEL 6.5安装DRBD
- 插入排序
- 最大熵模型
- Web工程获取目录下的资源
- linux CR2 to JPG
- Fortran从文件读入数据的规律
- 28 - 字符串的全排列和组合
- Remove Duplicates from Sorted List
- 51nod1051(最大子矩阵和)
- CUDA nvcc编译步骤简单讲解
- 并发请求导致的业务处理安全风险及解决方案
- 【HDU】5293 Tree chain problem【DP+LCA】
- C# 向指定线程发送消息