首页 \ 问答 \ 哪个标签有用,哪些不是?(Which tags are useful and which not?)

哪个标签有用,哪些不是?(Which tags are useful and which not?)

X / HTML中有多少<meta>标签可用,哪些应该使用,哪些不可用?

看到这个工具http://www.ulhas.net/tools/tu-metagen

是否有任何专业人士使用除元描述之外的所有其他元标记?

请注意:Google对meta关键字没有任何重要性。


How many total <meta> tag available in X/HTML and Which should be used and which not?

see this tool http://www.ulhas.net/tools/tu-metagen

is there any pros to use all other meta tags other than meta description?

note: Google doesn't give any importance to meta keywords.


原文:https://stackoverflow.com/questions/2301378
更新时间:2023-05-15 08:05

最满意答案

您的代码有上面列出的一些问题。 在Unix上,你需要结束行\ 。 你已经列出了photo.jpg,但提供了img.jpg。 你最后使用了-append,但它应该是+ append。 在Unix上,你必须加上关于你的标签文本和十六进制颜色的引号。 所以你的代码的正确列表如下。 根据需要将路径更改为文件和名称以及字体路径。

convert \
-font /Library/fonts/Gotham-Ultra.ttf \
-gravity center \
-geometry +0-0 \
-background none \
-gravity south \
-fill "#FC3B45" \
-size 330x90 \
caption:VIERNES \
-font /Library/fonts/Helvetica-Bold.ttf \
-gravity north \
-background none \
-pointsize 25 \
-fill "#671646" \
-size 330x \
caption:"––––––––––––––––––––" \
-font /Library/fonts/Gotham-Ultra.ttf \
-gravity center \
-background none \
-fill "#671646" \
-size 330x210 \
+pointsize \
caption:"4 EMPANADAS 2 PORCIONES DE ENSALADAS 2 REFRESCOS DE 355ML POR $195" \
-font /Library/fonts/Helvetica-Bold.ttf \
-gravity north \
-background none \
-pointsize 25 \
-fill "#671646" \
-size 330x \
caption:"––––––––––––––––––––" \
-append \
yellow.png \
+swap \
-gravity center \
-composite \
photo.jpg \
-crop 450x480+0+0 \
+repage \
+swap \
+append \
coupon_image20180212-7979-p52o3f.jpg

我将图像放在与运行命令行相同的目录位置。 在作物之后,我也加了+ repage。

尽管如此,IM 6.7.8.9还是有问题的。 我可以重现你的那个版本的不好结果。 我获得了IM 6.9.9.34 Q16 MacOS Sierra(当前版本)和IM 6.7.7.10和IM 6.8.6.8(我得心应手的下一个版本)的正确结果。 IM 6.7.8.9已经被证明对我来说有很多方面的问题。 在我看来,这对Linux发行版来说是一个糟糕的选择。 如果可能的话,你应该考虑升级。


Your code has some problems as listed above. On Unix, you need end of line \. You have listed the photo.jpg but provided img.jpg. You used -append at the end, but it should be +append. On Unix, you must put quotes about your label text and about hex colors. So the proper listing for your code is as follows. Change the paths to your files and names and path to your fonts as desired.

convert \
-font /Library/fonts/Gotham-Ultra.ttf \
-gravity center \
-geometry +0-0 \
-background none \
-gravity south \
-fill "#FC3B45" \
-size 330x90 \
caption:VIERNES \
-font /Library/fonts/Helvetica-Bold.ttf \
-gravity north \
-background none \
-pointsize 25 \
-fill "#671646" \
-size 330x \
caption:"––––––––––––––––––––" \
-font /Library/fonts/Gotham-Ultra.ttf \
-gravity center \
-background none \
-fill "#671646" \
-size 330x210 \
+pointsize \
caption:"4 EMPANADAS 2 PORCIONES DE ENSALADAS 2 REFRESCOS DE 355ML POR $195" \
-font /Library/fonts/Helvetica-Bold.ttf \
-gravity north \
-background none \
-pointsize 25 \
-fill "#671646" \
-size 330x \
caption:"––––––––––––––––––––" \
-append \
yellow.png \
+swap \
-gravity center \
-composite \
photo.jpg \
-crop 450x480+0+0 \
+repage \
+swap \
+append \
coupon_image20180212-7979-p52o3f.jpg

Where I have put the images in the same directory location as running the command line. I have also added +repage after the crop.

Nevertheless, IM 6.7.8.9 is buggy. I can reproduce your bad results for that version. I get the proper results for IM 6.9.9.34 Q16 MacOS Sierra, the current version and for IM 6.7.7.10 and IM 6.8.6.8 (the next version I had handy). IM 6.7.8.9 has proven to me to be buggy in a number of ways. It was a poor choice for the Linux distros, in my opinion. You should look into an upgrade if possible.

相关问答

更多
  • 首先运行'ImageMagick-6.7.6-1-Q16-windows-dll.exe'安装程序以安装imagemagick库。 然后确保您的环境路径包含已安装二进制文件的位置('convert.exe','mogrify.exe'等) Run the 'ImageMagick-6.7.6-1-Q16-windows-dll.exe' installer first to install the imagemagick libraries. Then make sure your environment ...
  • 三种选择: 考虑使用magick R包而不是使用system() 。 convert ...您的脚本从convert ...更改为magick convert ... 重新安装imagemagick,并启用“安装遗留工具(例如转换)”选项。 这个变化一直在7.0.1(现在达到7.0.7)以上,并在其移植指南中进行了讨论,特别是在标题为“命令变更”的部分。 在哲学上,我宁愿不安装遗留实用程序,主要是因为它可能会导致与命令名称混淆。 例如,Windows中的非ImageMagick convert.exe尝试转 ...
  • 事实证明,我在-thumbnail "640x88\>"大小选项周围有额外的" (引号)。作为参考,正确的,转义转换命令应该是: /usr/bin/convert "/Users/rich/Sites/example/1234.JPG" -quality 85 -auto-orient -thumbnail 640x88\> "/Users/rich/Sites/example/1234-thumb.jpg" It turns out that I had extra " (quote marks) aro ...
  • 您可以尝试使用GNU Parallel来限制内存使用并通过并行运行作业来提高速度。 基本上,在指定的内存量空闲之前,它不会启动另一个并行作业。 因此,假设您的脚本被称为OCR并且它将输入文件名作为参数: parallel --memfree 1G OCR {} ::: *.tif I've solved it by using the following command: nice -20 /usr/bin/convert -limit memory 32 -limit map 32 -density 2 ...
  • 您的代码有上面列出的一些问题。 在Unix上,你需要结束行\ 。 你已经列出了photo.jpg,但提供了img.jpg。 你最后使用了-append,但它应该是+ append。 在Unix上,你必须加上关于你的标签文本和十六进制颜色的引号。 所以你的代码的正确列表如下。 根据需要将路径更改为文件和名称以及字体路径。 convert \ -font /Library/fonts/Gotham-Ultra.ttf \ -gravity center \ -geometry +0-0 \ -backgroun ...
  • 方案 : convert -set colorspace RGB test.jpg \( -clone 0 -fill '#330000' -colorize 100% \) \( -clone 0 -colorspace gray -negate \) -compose blend -define compose:args=100,0 -composite test.jpg 英文:添加-set colorspace RGB以强制图像处于线性RGB色彩空间。 感谢ImageMagick论坛的人和Insta ...
  • 我不能直接回答你的问题,但我想我指出了一些资源: 关于哪个更好,exec或PHP扩展,几个月前我问了同样的问题: 我应该为ImageMagick使用PHP扩展还是只使用PHP的Exec()函数来运行终端命令? 对于所有Image Magick PHP函数,您应该查看官方指南: http://www.php.net/manual/en/book.imagick.php 我从Image Magick切换到Graphics Magick,因为我听说它有更好的性能。 它是Image Magick的一个分支,强调性能 ...
  • 没有看到你的图像有点难以帮助! 我想它看起来会像这样: convert -gravity center \ \( $1 -alpha set -background none -vignette 0x0 )\ \ \( $2 -auto-orient -thumbnail 600x313^ -gravity center -extent 600x313 -region 100%x100% -fill "#2 ...
  • 事实证明,我一直在寻找的是自我转换为单色的自适应阈值 。 Chris Greening创建了一个图像处理库 ,可以很好地处理这个问题。 所以不需要imagemagick。 It turns out what I've been looking for is Adaptive Thresholding in my conversion to monochrome. Chris Greening has created an image processing library that handles this ...
  • 正确设置权限是此问题的答案。 感谢Orblings的指导,并遵循如何在此页面上设置apache权限的详细说明: 如何将Apache Access提供给MAC OSx上的文件夹? 我的imageMagick功能正常运行。 Setting permissions correctly was the answer to this issue. Thanks to Orblings guidance and following careful instructions on how to set permissio ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。