调整大小后图像模糊 [英] Image blured after resizing

查看:103
本文介绍了调整大小后图像模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用C#实现图像缩放。所以我正在调整图像n的大小,然后在给定位置裁剪该图像。我已经实现了这一点,但问题。是图像质量不好。图像变得模糊。



调整大小由图形完成,缩放由克隆功能完成。



可以任何人请帮助我,以便图像不会模糊。





谢谢

I am want to achieve image zooming using C#.so I am resizing image n then cropping that image at a given position. I have achieved that but prob. is that image quality is not good. image gets blured.

Resizing is done by Graphics and zooming is done by clone function.

can anybody pls help me so that image wont gets blured.


Thanks

推荐答案

如果图像是.eps,.psd,.tif或者如果是.pdf,那么我将该图像转换为.jpg并保存到某个位置。

从该位置我将调整大小同样的图像最后一个图像被裁剪。

裁剪后我是将图像保存在我正在显示的临时位置。

并在显示后我删除了该图像。



但是图像有点模糊。
if image is of .eps,.psd,.tif or if it is .pdf then I convert that image to .jpg and saving to a location.
From that location I am resizing the same image n last that image is cropped.
YES after cropping I am saving that image at temporary location from where I am displaying.
and after displaying I am deleting that image.

But image is little bit blured.


这篇关于调整大小后图像模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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