图像平铺

Images brought onto a web page via CSS as backgrounds have the advantage of automatic tessellation: they tile both horizontally and vertically by default. This makes them very suited for fluid designs

通过CSS作为背景带到网页上的图像具有自动细分的优势:默认情况下,它们在水平和垂直方向上都平铺。 这使得它们非常适合流体设计

Before we get to the sequence of making a tiled image, there are five unspoken rules:

在开始制作平铺图像的序列之前,有五个潜规则:

  1. Determine that you have rights to the image; both of the images I use here are licensed under Creative Commons.

    确定您有权使用该图像; 我在此处使用的两个图像均已获得知识共享许可。

  2. Always use the highest resolution version of the image available.

    始终使用可用图像的最高分辨率版本 。

  3. save a copy of the original image in the originals folder of your site.

    将原始图像的副本保存在网站的originals文件夹中。

  4. Set up PhotoShop correctly.

    正确设置PhotoShop。

  5. Crop the image so that it only shows the part of the image you wish to use: anything that is a pure color (such as black or white) can be replaced by using background-color

    裁剪图像,使其仅显示要使用的图像部分:任何纯色(例如黑色或白色) background-color都可以使用background-color替换

Now the steps to make it a tessellated image:

现在,使它成为细分图像的步骤:

确定该图像适合平铺。 (Determine that the image is suitable for tiling.)

An image with a significant singular feature – a visible sun or moon in the sky, for example – is likely to be inappropriate as a tiled background image without considerable editing. In addition, the horizon of the image must be horizontal, as the right and left edges of the image (or top and bottom, if you are tiling vertically) must match. The best way to check this is to turn on rules (

CMD-R) in PhotoShop and drag out a guide across the horizon line.

CMD-R ),然后在视线范围内拖出参考线。

预览图像的平铺 (Preview the tiling of the image)

Adobe has the Pattern Maker plugin for PhotoShop (now an optional download for CS5), but I’ve never found it terribly useful. Instead, I use this tried-and-true technique:

Adobe为PhotoShop提供了Pattern Maker插件 (现在是CS5的可选下载),但我从未发现它非常有用。 相反,我使用了这种久经考验的技术:

From the menu bar, choose

Filter / Other / Offset…

过滤器” /“其他” /“偏移...”。

Offset the image in the direction you wish to tile it by approximately half the image’s width. You will see PhotoShop move the image across the canvas, wrapping the excess around the other side.

沿您希望平铺图像的方向将图像偏移大约图像宽度的一半。 您将看到PhotoShop在画布上移动图像,将多余的部分包裹在另一侧。

If the wrapped image looks seamless, it is good; either cancel the filter, or move the invisible "join" via the Offset filter to an aesthetically pleasing position, click OK, resize the image, and use Save for Web and Devices. You may find that you will need to use a slightly higher quality level than normal if saving the image as a JPEG (50 – 60), due to the fact that the JPEG algorithm tends to introduce artifacts in the edges of the image. These artifacts will not be seen until you tile the image in the web page itself, so you may need several go-rounds of compressing and saving, experimenting with different levels of compression.

如果包装后的图像看起来无缝,那很好。 或者取消过滤器,或通过“ 偏移”过滤器将不可见的“连接”移动到美观的位置,单击“ 确定” ,调整图像大小,然后使用“ 为Web和设备保存” 。 您可能会发现,如果将图像另存为JPEG(50 – 60),则需要使用比正常水平稍高的质量级别,这是因为JPEG算法会在图像边缘引入伪影。 在将图像平铺在网页本身之前,将看不到这些伪像,因此您可能需要进行多次压缩和保存,并尝试不同的压缩级别。

If the wrapped image is

not seamless, move the offset to a round number that is easily remembered and press OK, then use the appropriate tools to smooth the transition between the left and right edges. I would suggest the Clone Stamp tool, but the Healing Brush and Patch tool, among others, could be equally appropriate.

不是无缝的,请将偏移量移至易于记忆的整数,然后按OK ,然后使用适当的工具平滑左右边缘之间的过渡。 我建议使用“ 克隆图章”工具,但是“ 修复画笔和修补程序”工具可能同样适用。

As before, either reset the Offset of the image, or move the now-invisible join to another location, resize the image, and export the image in a web-ready format.

与以前一样,可以重置图像的偏移 ,或将现在不可见的联接移动到另一个位置,调整图像的大小,然后以可用于Web的格式导出图像 。

The image should now be ready to use as a tiled background in a web page via CSS.

现在应该可以通过CSS将图像用作网页中的平铺背景。

翻译自: https://thenewcode.com/264/Five-Steps-To-Making-A-Seamless-Tiled-Image

图像平铺

图像平铺_制作无缝平铺图像的五个步骤相关推荐

  1. python基于水色图像的水质评价_基于Python和遥感图像的膨胀与腐蚀操作

    引言 膨胀与腐蚀是图像形态学中的基本操作,本文将从两个角度实现python的膨胀与腐蚀算法,分别是特征提取与分割后处理.目前,在RGB图像领域,这两种形态学算法经常用于分割结果的处理,例如连通区处理. ...

  2. 海思前几帧图像不正常_电视有声音没有图像要怎么维修

    现如今液晶电视越卖越划算,许多家中都把这一新鲜东西搬至了家中.液晶电视用久了就会出现各种各样故障,富人能够立即更换的,但经济发展不足富裕的家中,以便划算能够取得检修店维修或自身想方法修完.那么电视有声 ...

  3. 图像风格迁移_【论文解读】图像风格迁移中的Contextual Loss

    [08/04更新]在前几天的Commit中,Contextual Loss已经支持多GPU训练 1.Background 对于图像风格迁移,最常用的做法就是通过GAN网络实现,然而,如果你没有很强大的 ...

  4. python图像下采样_[Python图像处理]十二.图像向下取样和向上取样

    图像向下取样 在图像向下取样中,使用最多的是高斯金字塔.它将对图像Gi进行高斯核卷积,并删除图像中所有的偶数行和列,最终缩小图像,其中高斯卷积核运算就是对整幅图像进行加权平均的过程,每一个像素点的值, ...

  5. 小波变换与图像图形处理技术_产品图形:使图像更具信息性的6种技术

    网站设计师已经变得非常精通营销技巧 . 吸引页面内容总是好的,但是当涉及到吸引访问者时,关注图像是最流行的媒体形式. 他们不需要演示视频之类的声音,并且可以在几秒钟内快速传递重要信息. 这看起来似乎很 ...

  6. 网页背景平铺_在大约十秒钟内为网页创建无缝平铺背景

    网页背景平铺 Creating a background image for your webpage (or desktop background) isn't challenging at all ...

  7. html5图片平铺的代码,jQuery图片平铺效果制作网页背景图片平铺代码

    插件描述:jQuery图片平铺效果制作网页背景图片平铺代码 调用JS文件 调用插件方法 $(function(){ // 插件初始化 $('img').jqthumb({ classname : 'j ...

  8. html网页背景图片平铺代码,jQuery图片平铺效果制作网页背景图片平铺代码

    插件描述:jQuery图片平铺效果制作网页背景图片平铺代码 调用JS文件 调用插件方法 $(function(){ // 插件初始化 $('img').jqthumb({ classname : 'j ...

  9. Illustrator 教程:如何在 Illustrator 中创建无缝平铺图案?

    欢迎观看illustrator教程,小编带大家学习 illustrator 的基本工具和使用技巧,了解如何在 illustrator 中创建图案并将图案应用于多种形状,同时调整图案的颜色和形状. 在本 ...

最新文章

  1. 运放使用中不稳定怎么办?
  2. html中embed标签的用法
  3. idea console中文乱码_Python3的字符编码乱码问题解决思路
  4. 【Linux】02-Linux远程管理常用命令
  5. 逼出的成功,强迫的辉煌
  6. 某系统有6台输出设备 有多个进程均需要使用2台_从零开始学K8s: 2.开发与部署方式的演变...
  7. jieba结巴分词--关键词抽取_结巴中文分词原理分析2
  8. python随机森林特征重要性_Python中随机森林回归的特征重要性
  9. python 颜色_Python可视化|matplotlib07自带颜色条Colormap(三)
  10. 服务器安装 accessdatabaseengine_.net IIS 服务器环境配置
  11. 《数字图像处理第二版》第三章部分习题
  12. 一棵树的生物量怎么算_2019玩花园 | 夏天怎么办?
  13. 最后的最后的一场考试
  14. [附源码]java毕业设计学校缴费系统
  15. Java常用工具类-发短信(集成华软通信短信网关)
  16. 《数学之美》-吴军 读书笔记
  17. 10个方法教你解决虚幻4运行崩溃问题
  18. android+路由器+名称,手机更改路由器名称
  19. pycharm preparing workspace 项目打不开怎么办?
  20. 润乾报表的数据源配置

热门文章

  1. NR中的盲检--pdcch candidate的起始CCE位置计算
  2. 不同点处泰勒展开的区别和意义
  3. java/php/net/python西石大快递代取系统设计
  4. html 百度网盘的布局,百度网盘披露5G布局:打造个人云操作系统!
  5. opencv中Hu矩的学习心得
  6. 新手必备pr 2021快速入门教程「十」PR基础视频调色
  7. QT实战-计算器-刘桂林-专题视频课程
  8. table 表格,序号控制
  9. 关于echart没有数据显示暂无数据
  10. Paleo In A Kitchen: Caveman Cooking Masterclass