本文主要是介绍dreamhost 好用吗_在Dreamhost上安装ExifTool,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

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访问权限),但它仍然可以安装,并且实际上很容易。
- 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框,然后转到将包含该工具的目录,在我的情况下,这是我的主目录
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
Uncompress the code archive
解压缩代码档案
tar -xf Image-ExifTool-7.59.tar.gz
tar -xf Image-ExifTool-7.59.tar.gz
Delete the original archive
删除原始档案
rm Image-ExifTool-7.59.tar.gz
rm Image-ExifTool-7.59.tar.gz
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
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 好用吗
这篇关于dreamhost 好用吗_在Dreamhost上安装ExifTool的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!