图片缩放与裁剪工具利用画布技术可读取图片,按照像素对图片进行缩放操作,可选择图片裁剪区域或设定裁剪大小拖动选择裁剪区域对图片进行裁剪,可保存处理后的图片。
2024-01-04 00:08:04 12KB python 图片缩放裁剪
1
C# 图片缩放和移动程序,在.net3.5下开发,但是代码完全支持vs2005,vs2008,vs2010
2023-12-15 05:06:23 107KB
1
影像透视变换-图片透视变换(投影变换) python处理图片,包括图片平移,图片旋转,图片缩放,图片倾斜,透视变换。选择图片中的四个关键点和将要变换的点,用于生成新的透视图 使用平移,缩放,翻转,旋转将一张图片转换为多张图片。 参考链接: : 主框架用的这位大佬的代码,我加了透视变换和鼠标交互的功能。
2023-12-01 18:02:37 8KB Python
1
wpf通过鼠标滚轮控制图片缩放 通过鼠标来移动图片,也可以通过按钮来还原、放大、缩小、翻转图片,还有透明菜单栏,很有参考意义
2023-07-11 17:27:24 9.42MB C# WPF 缩放 透明菜单栏
1
网上没找GestureImageView的jar包,自己打了一个。
2023-03-31 11:03:40 27KB gesture imageview 缩放图片
1
Microsoft Visual Studio 2010做的C#图片缩放实例,主要代码: Image imageSource = bitmapSource; ImageFormat sourceFormat = imageSource.RawFormat; int iSourceWidth = imageSource.Width; int iSourceHeight = imageSource.Height; decimal decTargetWidth = iSourceWidth*decTimes; decTargetWidth = Math.Round(decTargetWidth, 0); string sTargetWidth = decTargetWidth.ToString( ); int iTargetWidth = Int32.Parse(sTargetWidth); decimal decTargetHeight = iSourceHeight * decTimes; decTargetHeight = Math.Round(decTargetHeight, 0); string sTargetHeight = decTargetHeight.ToString(); int iTargetHeight = Int32.Parse(sTargetHeight); Bitmap bitmapTarget = new Bitmap(iTargetWidth, iTargetHeight); Graphics gTarget = Graphics.FromImage(bitmapTarget); gTarget.Clear(Color.Transparent); // 设置画布的描绘质量 gTarget.CompositingQuality = CompositingQuality.HighQuality; gTarget.SmoothingMode = SmoothingMode.HighQuality; gTarget.InterpolationMode = InterpolationMode.HighQualityBicubic; gTarget.DrawImage(imageSource, new Rectangle(0, 0, iTargetWidth, iTargetHeight), 0, 0, imageSource.Width, imageSource.Height, GraphicsUnit.Pixel); gTarget.Dispose(); // 以下代码为保存图片时,设置压缩质量 EncoderParameters encoderParams = new EncoderParameters(); long[] lQualityS = new long[1]; lQualityS[0] = 100; EncoderParameter EncoderParameterVar = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, lQualityS); encoderParams.Param[0] = EncoderParameterVar; imageSource.Dispose();
2023-03-29 22:36:43 85KB VS2010 图片缩放
1
C#图片缩放控件源码,VS2013。亲测无误。 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
2023-03-29 22:30:24 218KB C# 图片 缩放控件 源码
1
这个控件用于浏览图片,可以实现图片的缩放、移动、与滚动条的配合等功能,基本满足了图片浏览的一般功能。 控件的使用可以参见我的空间:http://student.csdn.net/space.php?uid=127131&do=blog&id=19295 控件功能: 1、通过拖拽滚动条实现图片移动; 2、滚动鼠标滚轮轮实现图片上下移动; 3、按住Shift键滚动鼠标滚轮实现图片左右移动; 4、按住Ctrl键滚动鼠标滚轮实现图片的缩放。 5、通过设置isMove=True是鼠标具有拖拽图片功能。 6、控件缩放时自动调整图片在合适的位置。
2023-03-28 21:55:56 52KB C# 图片缩放 图片移动 滚动条
1
用Visual Studio2010将小图片拉伸显示,适合登陆界面,并且有详细说明
2023-02-06 15:43:32 189KB 图片 MFC
1
jQuery图片缩放平移预览代码是一款带有3种图片查看模式,全屏模式,容器模式和图片模式。
2023-01-11 16:03:24 1.57MB jQuery 图片缩放 图片平移 图片切换
1