渐变图像的右侧和底部有空白区域 [英] gradient image has white space on right and bottom

查看:73
本文介绍了渐变图像的右侧和底部有空白区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个6px X 50px渐变,在设计模式下看起来很好。但是,当我导出它时,我会在右边缘和底部获得空白区域。当我尝试将其用作网页边框的重复图像时,每个重复的
图像之间都有空格。

I've created a 6px X 50px gradient that looks fine in design mode. However, when I export it I get white space along the right edge and bottom. When I try to use it as a repeating image for a border on my web page there is white space between each repeated image.

这里的梯度示例

推荐答案

这是设计中的错误。

This is a bug with Design.

我发现导出后修复图片的最简单方法也是:

This simplest way I have found to fix an image after exporting it is too:

在Paint.net和裁剪等照片编辑程序中打开图像离开额外的边界。

Open the image in a photo editing program like Paint.net and crop off the extra border.

-wolf


这篇关于渐变图像的右侧和底部有空白区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆