dreamhost 好用吗_在Dreamhost上安装ExifTool

news/2024/7/24 6:51:57 标签: php, linux, https, wordpress, docker
https://img-blog.csdnimg.cn/img_convert/7eb4f69b5f0dec56a28c10c78b94c8b0.png" alt="dreamhost 好用吗" width="403px" height="256px" style="outline: none;" />

dreamhost 好用吗

ExifTool looks like a very promising tool to fiddle with all sorts of JPEG metadata (needed for smush.it) but first I had to make sure I can install it on Dreamhost. Although installation didn't go as described on the exiftool site (since I don't have sudo access on Dreamhost), it's still installable and it's actually pretty easy.

ExifTool看起来像一个非常有前途的工具,可以处理各种JPEG元数据( smush.it所需),但是首先我必须确保可以在Dreamhost上安装它。 尽管安装没有按照exiftool网站上的说明进行(因为我在Dreamhost上没有sudo访问权限),但它仍然可以安装,并且实际上很容易。

  1. ssh to your DH box and go to the directory that will contain the tool, in my case it's my home directory

    ssh到DH框,然后转到将包含该工具的目录,在我的情况下,这是我的主目录
  2. Download the latest version of the code, e.g.

    下载最新版本的代码,例如

    wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-7.59.tar.gz

    wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-7.59.tar.gz

  3. Uncompress the code archive

    解压缩代码档案

    tar -xf Image-ExifTool-7.59.tar.gz

    tar -xf Image-ExifTool-7.59.tar.gz

  4. Delete the original archive

    删除原始档案

    rm Image-ExifTool-7.59.tar.gz

    rm Image-ExifTool-7.59.tar.gz

  5. Rename the newly created Image-ExifTool-7.59 to something shorter to type, e.g. "et"

    将新创建的Image-ExifTool-7.59重命名为较短的名称,例如“ et”

    mv Image-ExifTool-7.59 et

    mv Image-ExifTool-7.59 et

  6. All done! You can now run it from any directory and show help info like

    全做完了! 您现在可以从任何目录运行它,并显示帮助信息,例如

    ~/et/exiftool - h

    ~/et/exiftool - h

You can also test the new installation with some of the images found in the exiftool test directory, like so:

您还可以使用exiftool测试目录中的某些映像来测试新安装,如下所示:

$ ~/et/exiftool ~/et/t/images/IPTC-XMP.jpg

ExifTool Version Number         : 7.59
File Name                       : IPTC-XMP.jpg
File Size                       : 20 kB
File Modification Date/Time     : 2005:12:31 13:05:50-08:00
File Type                       : JPEG
MIME Type                       : image/jpeg
JFIF Version                    : 1.02
Exif Byte Order                 : Little-endian (Intel, II)
Image Description               : A witty caption
Make                            : FUJIFILM
Camera Model Name               : FinePix2400Zoom
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : Adobe Photoshop 7.0
Modify Date                     : 2004:02:26 09:36:46
Artist                          : Phil Harvey
Y Cb Cr Positioning             : Co-sited
Copyright                       : Copyright 2004 Phil Harvey
F Number                        : 3.5
Exposure Program                : Program AE
ISO                             : 100
Exif Version                    : 0210
Date/Time Original              : 2001:05:19 18:36:41
Create Date                     : 2001:05:19 18:36:41
Components Configuration        : YCbCr
Compressed Bits Per Pixel       : 1.6
...
... [snip]
...
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Aperture                        : 3.5
Image Size                      : 100x80
Shutter Speed                   : 1/64
Focal Length                    : 6.0 mm
Light Value                     : 9.6

        
        

Tell your friends about this post on Facebook and Twitter

在Facebook和Twitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/installing-exiftool-on-dreamhost/

dreamhost 好用吗


http://www.niftyadmin.cn/n/1306636.html

相关文章

FusionCharts使用问题及解决方法(二)-FusionCharts常见问题大全

FusionCharts使用问题及解决方法(二) 如何启用JavaScript调试模式? 要启用JavaScript调试模式,你将需要写下面的几行代码: FusionCharts.debugMode.enabled(true); 此外,你还需要指定"debugMode" 输出的位置。如果你…

mdb使用_使用MDB2进行性能调优

mdb使用This is a follow-up to Lars comment about the PEAR book. In the MDB2 chapter I showed an example how you can create custom debug handlers in MDB2 and then gave a suggestion about a useful application of this functionality for performance tuning. Bas…

mac 10.13 安装 java7_【精华】MacOS 10.13.2 环境下安装eclipse

一、安装jdk下载jdk安装包 我下的是1.8 在这个甲骨文官网上下载网址: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html(安装Eclipse前先确认你的Mac上是否已安装java运行环境。进入终端,输入”java -version”&a…

FusionCharts使用问题及解决方法(三)-FusionCharts常见问题大全

FusionCharts使用问题及解决方法(三) 当HTML、SWF和JavaScript文件在同一个文件夹中时, FusionCharts工作正常,但是如果它们被放到不同的文件夹中,FusionCharts无法正常工作? 你需要注意以下几点: 1、如果你从另外一…

java30天速成_Java学习第30天

1.使用throws抛出异常(1)声明抛弃异常是在一个方法声明中的throws子句中指明的。(2)形式:[修饰符] 返回类型 方法名(参数1,参数2,...) throws 异常列表{}(3)throws字句中同时可以指明多个异常,说明方法将不对这些异常进行处理,而是声明抛弃它…

2019-06-01更新_个人新闻更新06年11月

2019-06-01更新So what Ive been up to recently? Having a bit of a break, I guess. First, Im not currently writing a book, after the last one for which I completed my chapter back in June. Thats some free time (There is a very exciting book project on the h…

mysql 选择属性值为空的_五:MySQL数据类型和属性

一:数据类型1. 数字类型int:整数 -2^31 ~ 2^31-1-2147483648 ~ 2147483647tinyint:最小整数 -128 ~ 1272. 字符类型char:定长 charvarchar:变长 varchar解析:比如你定义char和varchar都是12,当你存入一个字…

FusionCharts导出图表常见问题(FAQ)汇总---FusionCharts常见问题大全

FusionCharts导出图表常见问题(FAQ)汇总 问题描述:我尝试使用Download Package > Code > ExportChartSamples中导出FusionCharts图表时,到最后一步的时候总是报错? 解决方法:在运行下载包中的示例时…