怎样设置capture ps手绘板放大缩小设置

如何使用Capture one自动调整_百度知道帖子很冷清,卤煮很失落!求安慰
手机签到经验翻倍!快来扫一扫!
问下,D800回看图片怎么设置100℅一键放大呢?
751浏览 / 6回复
正品行货无忧退换顺丰包邮
尼康(Nikon)D800 单反机身 全画幅 专业级单反
ZOL商城价:¥12000
问下,回看图片怎么设置100℅一键放大呢?多谢了?
热门排名: 第35名
可有知道的呢?谢谢了
我知道,波轮向下按
这个问法有歧义。
这个问法有歧义。我想,楼主是问在相机上看照片,想使用一键就将照片放大到最大,而不是用 “+” 键逐次放大。这样的话,我知道:在机身上看照片时,首先选中照片,再按下 “+” 键不要放手。这样,照片就被放大到极限。如果嫌大了,以 “-” 键控制回小。如果恢复显示该照片适合屏幕大小,可以使用多重选择器上的左右方向键分别按一次。在D800相机屏幕上,是看不到照片局部100%的。如果拍的照片规格是像素,相机只能将其放大到几近屏幕的46倍。而屏幕的像素数是640*480,它只能显示实际照片的1/177.7大小。在机身上就是放大到极限,屏幕所显示照片的局部也不足实际大小的40%。D800机身看片,一键100%有可能要等新版本了!在计算机上看照片,一键100%是没有问题的,在“缩放”栏内点“完整大小”即可。
同意:D800机身看片,一键100%有可能要等新版本了!...的看法......关于D800的相关问题,新手可到 D800摄友群()即时交流......
器材:&[]&&镜头:&[]时间: 11:03:14.20&&快门:1/200&&光圈:F/2.8&&焦距:70毫米&&感光度:280&&
您需要登录后才可以回帖&&&|&&&&&
可能感兴趣的板块:
用户名/注册邮箱/注册手机号
其他第三方号登录您当前位置: >
Classification
【Javascript】
下载新闻文章相关内容
暂无相关新闻内容
jquery xzy_zoompic 图片放大缩小查看插件
稿件来源: 阳光企业网站管理系统
& 撰稿作者: 太阳光
& 发表日期:
& 阅读次数: 325
& 查看权限: 游客查看
功能:点击对象弹出可移动的窗口显示图片,图片可滚轮放大与缩小并移动,方便对照图片输入需要的信息(原始需求)双击还原原始大小。
因工作需要紧急制作的一个图片查看插件。
&script type=&text/javascript&&
$(document).ready(function() {
$(&.z_pic&).xzy_zoompic(500,400,4,200);
jquery xzy_zoompic 图片放大缩小查看插件
$(class).xzy_zoompic(w,h,unit,min)
w:窗口宽度,可选参数,默认350像数
h:窗口高度,可选参数,默认300像数
unit:滚轮时放大或缩小系数,可选参数,默认5个像数
min:图片缩小时最小宽度,可选参数,默认200像数
功能:点击对象弹出可移动的窗口显示图片,图片可滚轮放大与缩小并移动,方便对照图片输入需要的信息(原始需求)双击还原原始大小。
作者:太阳光
此插件是因工作需要,费时1小时完成,部分功能仍不理想。
jQuery.fn.extend({
xzy_zoompic:function (w,h,unit,min){
w=w||350;h=h||300;unit=unit||5;min=min||200;
$('body').append('&div id=&xzy_zoompic& style=&width:'+w+'height:'+h+'px&&&div id=&xzy_zoompic_title& style=&width:'+w+'px&&&div id=&xzy_zoompic_close& title=&点击关闭&&&/div&&span&&/span&&/div&&img src=&& id=&xzy_zoompic_pic& /&&/div&');
$(this).click(function(){
$(&#xzy_zoompic_pic&).attr(&src&,$(this).attr(&src&)).css({width:&auto&,top:0,left:0});
$(&#xzy_zoompic_title span&).html($(this).attr(&alt&));
var i_top=$(this).offset().
var i_left=parseInt($(window).width()/2-w/2);
$(&#xzy_zoompic&).css({display:&block&,left:i_left,top:i_top});
function move_div(id){
$(id).mousedown(function (e) {
var oe=e||window.
var $this =
var startX = oe.clientX - $this.offsetL
var startY = oe.clientY - $this.offsetT
document.onmousemove = function (e) {
var oe = e || window.
$this.style.left = oe.clientX - startX + &px&;
$this.style.top = oe.clientY - startY + &px&;
document.onmouseup = function () {
document.onmousemove =
document.onmouseup =
if ($this.releaseCapture) {
$this.releaseCapture();
if ($this.setCapture) {
$this.setCapture();
function scrollMouse(e) {
var direct = 0;
e = e || window.
if (e.wheelDelta) {
direct = e.wheelD
e.returnValue=false
} else if (e.detail) {
direct = e.
e.preventDefault();
var t = parseInt($(this).width());
if (direct & 0) {
$(this).width(t & min ? min : t);
$(&#xzy_zoompic_pic&).mouseover(function(){
if (document.addEventListener) {
this.addEventListener('DOMMouseScroll', scrollMouse, false);
this.onmousewheel = this.onmousewheel = scrollM
}).dblclick(function(){
$(this).css({width:&auto&,top:0,left:0});
move_div(&#xzy_zoompic_pic&);
move_div(&#xzy_zoompic&);
$(&#xzy_zoompic_close&).click(function(){
$(&#xzy_zoompic&).hide();
关键词: jquery,图片插件,jquery插件 & 编辑时间:
0高兴0支持0搞笑0不解0谎言0枪稿0震惊0无奈0无聊0反对0愤怒
上一篇:下一篇:
中搜索: 中搜索:
article Pictrue
copyright(C)
阳光企业网站管理系统, all rights reserved。站长:太阳光 建站时间: 页面加载时间图片的处理大概分 截图(capture),
缩放(scale), 设定大小(resize),
存储(save)
图片的处理大概分 截图(capture), &缩放(scale), 设定大小(resize), &存储(save)
1.等比率缩放
- (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize
UIGraphicsBeginImageContext(CGSizeMake(image.size.width * scaleSize, image.size.height * scaleSize);
[image drawInRect:CGRectMake(0, 0, image.size.width * scaleSize, image.size.height * scaleSize)];
UIImage *scaledImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return scaledI
2.自定长宽
- (UIImage *)reSizeImage:(UIImage *)image toSize:(CGSize)reSize
UIGraphicsBeginImageContext(CGSizeMake(reSize.width, reSize.height));
[image drawInRect:CGRectMake(0, 0, reSize.width, reSize.height)];
UIImage *reSizeImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return reSizeI
3.处理某个特定View
只要是继承UIView的object 都可以处理
必须先import QuzrtzCore.framework
-(UIImage*)captureView:(UIView *)theView
CGRect rect = theView.
UIGraphicsBeginImageContext(rect.size);
CGContextRef context = UIGraphicsGetCurrentContext();
[theView.layer renderInContext:context];
UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
4.储存图片
储存图片这里分成储存到app的文件里和储存到手机的图片库里
1)&储存到app的文件里
NSString *path = [[NSHomeDirectory()stringByAppendingPathComponent:@&Documents&]stringByAppendingPathComponent:@&image.png&];
[UIImagePNGRepresentation(image) writeToFile:pathatomically:YES];
把要处理的图片, 以image.png名称存到app home下的Documents目录里
2)储存到手机的图片库里(必须在真机使用,模拟器无法使用)
CGImageRef screen = UIGetScreenImage();
UIImage* image = [UIImage imageWithCGImage:screen];
CGImageRelease(screen);
UIImageWriteToSavedPhotosAlbum(image, self, nil, nil);
UIGetScreenImage(); // 原来是private(私有)api, 用来截取整个画面,不过SDK 4.0后apple就开放了
//====================================================================================
以下代码用到了Quartz Framework 和 Core Graphics Framework. 在workspace的framework目录里添加这两个framework.在UIKit里,图像类UIImage和CGImageRef的画图操作都是通过Graphics Context来完成。Graphics Context封装了变换的参数,使得在不同的坐标系里操作图像非常方便。缺点就是,获取图像的数据不是那么方便。下面会给出获取数据区的代码。
1. 从UIView中获取图像相当于窗口截屏。
(ios提供全局的全屏截屏函数UIGetScreenView(). 如果需要特定区域的图像,可以crop一下)
CGImageRef screen = UIGetScreenImage();
UIImage* image = [UIImage imageWithCGImage:screen];
2. 对于特定UIView的截屏。
(可以把当前View的layer,输出到一个ImageContext中,然后利用这个ImageContext得到UIImage)
-(UIImage*)captureView: (UIView *)theView
CGRect rect = theView.
UIGraphicsBeginImageContext(rect.size);
CGContextRef context =UIGraphicsGetCurrentContext();
[theView.layer renderInContext:context];
UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
3. 如果需要裁剪指定区域。
(可以path & clip,以下例子是建一个200x200的图像上下文,再截取出)
UIGraphicsBeginImageContext(CGMakeSize(200,200));
CGContextRefcontext=UIGraphicsGetCurrentContext();
UIGraphicsPushContext(context);
// ...把图写到context中,省略[indent]CGContextBeginPath();
CGContextAddRect(CGMakeRect(0,0,100,100));
CGContextClosePath();[/indent]CGContextDrawPath();
CGContextFlush();&// 强制执行上面定义的操作
UIImage* image = UIGraphicGetImageFromCurrentImageContext();
UIGraphicsPopContext();
4. 存储图像。
(分别存储到home目录文件和图片库文件。)
存储到目录文件是这样
NSString *path = [[NSHomeDirectory() stringByAppendingPathComponent:@&Documents&] stringByAppendingPathComponent:@&image.png&];
[UIImagePNGRepresentation(image) writeToFile:path atomically:YES];
若要存储到图片库里面
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);
5.&&互相转换UImage和CGImage。
(UImage封装了CGImage, 互相转换很容易)
UIImage* imUI=
CGImageRef imCG=
imUI = [UIImage initWithCGImage:imCG];
imCG = imUI.CGI
6. 从CGImage上获取图像数据区。
(在apple dev上有QA, 不过好像还不支持ios)
下面给出一个在ios上反色的例子
-(id)invertContrast:(UIImage*)img
CGImageRef inImage = img.CGI&
CGContextR
CFDataRef m_DataR
m_DataRef = CGDataProviderCopyData(CGImageGetDataProvider(inImage));&
int width = CGImageGetWidth( inImage );
int height = CGImageGetHeight( inImage );
int bpc = CGImageGetBitsPerComponent(inImage);
int bpp = CGImageGetBitsPerPixel(inImage);
int bpl = CGImageGetBytesPerRow(inImage);
UInt8 * m_PixelBuf = (UInt8 *) CFDataGetBytePtr(m_DataRef);
int length = CFDataGetLength(m_DataRef);
NSLog(@&len %d&, length);
NSLog(@&width=%d, height=%d&, width, height);NSLog(@&1=%d, 2=%d, 3=%d&, bpc, bpp,bpl);
for (int index = 0; index & index += 4){&m_PixelBuf[index + 0] = 255 - m_PixelBuf[index + 0];// bm_PixelBuf[index + 1] = 255 - m_PixelBuf[index + 1];// gm_PixelBuf[index + 2] = 255 - m_PixelBuf[index + 2];// r}
ctx = CGBitmapContextCreate(m_PixelBuf, width, height, bpb, bpl, CGImageGetColorSpace( inImage ), kCGImageAlphaPremultipliedFirst );CGImageRef imageRef = CGBitmapContextCreateImage (ctx);UIImage* rawImage = [UIImage imageWithCGImage:imageRef];CGContextRelease(ctx);return rawI}
7.&显示图像数据区。
(显示图像数据区,也就是unsigned char*转为graphics context或者UIImage或和CGImageRef)
CGContextRef ctx = CGBitmapContextCreate(pixelBuf,width,height, bitsPerComponent,bypesPerLine, colorSpace,kCGImageAlphaPremultipliedLast );
CGImageRef imageRef = CGBitmapContextCreateImage (ctx);
UIImage* image = [UIImage imageWithCGImage:imageRef];
NSString* path = [[NSHomeDirectory() stringByAppendingPathComponent:@&Documents&] stringByAppendingPathComponent:@&ss.png&];
[UIImagePNGRepresentation(self.image) writeToFile:path atomically:YES];
CGContextRelease(ctx);
得到图像数据区后就可以很方便的实现图像处理的算法。
完,欢迎指正!
> 本站内容系网友提交或本网编辑转载,其目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权和其它问题,请及时与本网联系,我们将在第一时间删除内容!
UIImage 图片处理:截图,缩放,设定大小,存储 原文: 图片的处理大概分 截图(capture),
缩放(scale), 设定大小(resize),
存储(save) 1.等比率缩放 - (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize { UIGraphicsBegin ...
图片的处理大概就分 截图(capture), 缩放(scale),设定大小(resize), 存储(save) 这几样比较好处理, 另外还有滤镜,擦试等, 以后再说 在这个Demo code裡, 我写了几个方法 1.等比率缩放 - (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize
//1.等比率缩放- (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize{UIGraphicsBeginImageContext(CGSizeMake(image.size.width * scaleSize, image.size.height * scaleSize);[imag ...
using S using System.Collections.G //using System.L using System.T using System.IO; using System.D using System.D using System.Drawing.I name ...
求:自适应页面中图片高度随宽度动态等比缩放,四张不同高度的图片显示时高度要一致(默认宽度为X,高为Y=X/80%的形式) 把图片的高度设置成height: auto试试! 如果宽高比是自然的宽高比 设置height:auto就行 : 如果宽高比 不是自然的宽高比: 图片宽度为什么会变; 一般是因为浏览器窗口变了; 你监听window.onresize 在其中 ...
&!DOCTYPE html PUBLIC &-//W3C//DTD XHTML 1.0 Transitional//EN& &http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&& &html xmlns=&http://www. ...
于新城科技园. 实现图片在指定容器内等比例缩放,并控制中上下左右居中,以前可以通过javascript 加css2 的办法来控制. 随着css3的普及,现在介绍一种单纯通过css来进行控制. 具体代码如下: &!html& &head& &meta charset=&utf-8&& ...
实施CMMI3 存在的风险大概分哪几类
作者:admin 来源:chinaopi论坛 日 发表评论 进入社区 在公司高层领导角色方面可能存在的风险分析: 1.过程改进目标不统一;高层管理者对CMMI项目的目标认识不一致,我们通过企业管理实践.培训和交流,使高层管理者认识到过程改进的重要性,结合市场和公司 ...君,已阅读到文档的结尾了呢~~
cscrollview cscrollview msdn ps放大缩小快捷键 webview 放大缩小 ps放大缩小 cad放大缩小 网页缩小了怎么放大 鼠标滚动放大缩小 visio 放大缩小 js点击图片放大缩小
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
CScrollView
放大 缩小 实现功能
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口

我要回帖

更多关于 ps如何设置放大缩小 的文章

 

随机推荐