腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(307)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
UIImageOrientation
/UIImagePickerController
我正在使用摄像头在IOS应用程序中拍照。它起作用了,我唯一的问题是当我试图弄清楚用户在拍照时是如何拿着设备的。寻找解决方案使我认识到,我应该使用imageOrientation of UIImage,但实际上:我遗漏了什么?
浏览 1
提问于2014-04-23
得票数 0
回答已采纳
1
回答
CALayer colorWithPatternImage
UIImageOrientation
我已经成功地使用colorWithPatternImage在用作演示文稿背景的CALayer中创建了背景色。但是,图像以颠倒的颜色呈现。我从几个小时的阅读帖子和文档中了解到,这是因为屏幕坐标颠倒。下面使用的pImage是先前从NSURLConnection加载的。 self.backgroundCol
浏览 25
修改于2012-11-11
得票数 0
3
回答
UIImageOrientation
到CIDetectorImageOrientation
使用CIDetector来检测图像中的人脸,你需要根据文档指定图像方向,这意味着它与
UIImageOrientation
不同。- (int) metadataOrientationForUIImageOrientation:(
UIImageOrientation
)orientation switch (orientation
浏览 0
提问于2013-02-26
得票数 4
回答已采纳
1
回答
ALAssetRepresentation fullResolutionImage的
UIImageOrientation
错误
我正在尝试ALAssetLibrary来获取照片应用程序中的图片,但最近我发现了一个问题,当我从ALAssetRepresentation获得的CGImageRef,
UIImageOrientation
浏览 1
提问于2010-09-06
得票数 1
1
回答
UIImageOrientation
文档不正确
通过查看苹果的
UIImageOrientation
文档,我注意到与这些描述相匹配的图像是不正确的。 这对我来说是痛苦的,所以我将把这个留在这里,在答案中有正确的图像,以防其他人找到同样的图像。
浏览 7
修改于2018-02-28
得票数 0
回答已采纳
2
回答
Swift :将
UIImageOrientation
转换为ALAssetOrientation
我在ENUMS上遇到了麻烦,特别是
UIImageOrientation
to ALAssetOrientation var orientation : ALAssetOrientation
浏览 7
修改于2014-08-04
得票数 1
回答已采纳
1
回答
带摄像头的
UIImageOrientation
, scale: 1.0, orientation:
UIImageOrientation
.right) self.tempImageView.isHidden
浏览 12
修改于2017-02-01
得票数 1
1
回答
用
UIImageOrientation
在横屏模式下正确保存UIImage
我做了一些研究,发现我可以通过这种方法使用
UIImageOrientation
来解决我的问题: [UIImage imageWithCGImage:cgimageref scale:1 orientation如果我查看所有图像上的
UIImageOrientation
,则在纵向和横向模式下,该值始终为3 (NSLog(@"%d",
UIImageOrientation
))。我不明白这对我有什么帮助。
浏览 16
修改于2012-03-29
得票数 1
回答已采纳
2
回答
在服务器上上传时发出
UIImageOrientation
问题
我不知道这是怎么发生的,但是当我在纵向模式下从相机获取图像并上传到服务器时,它显示得很好,但是当我从照片库获取相同的图像并上传到服务器时,它在景观模式下显示。我已经通过了和,但还没有取得成功。提前谢谢。- (UIImage *)imageToFitSize:(CGSize)fitSize method:(MGImageResizingMethod)resizeMethod float imageScaleFactor = 1.0; #if __IPHONE_OS_VERSION_MAX_
浏览 8
修改于2017-05-23
得票数 2
1
回答
用ALAssetOrientation和
UIImageOrientation
确定正确定位的问题
*timg = [[UIImage alloc] initWithCGImage:[representation fullScreenImage]];
UIImageOrientation
浏览 1
提问于2012-03-22
得票数 3
1
回答
是否有可能从
UIImageOrientation
中删除或完全删除UIImage信息?
是否有可能从
UIImageOrientation
中删除或完全删除UIImage信息? 我可以把image.imageOrientation = nil设置为零吗?
浏览 5
修改于2014-05-06
得票数 1
回答已采纳
3
回答
UIImageOrientation
从加载的UIImage中左/右不正确?
我正在加载带有任意EXIF定向数据(8个方向之一)标记的JPG。我下载了八个示例图像文件 (从链接)。但是,当我将其加载到iOS项目中的iOS中,并在其上调用-imageOrientation时,就会得到UIImageOrientationLeft。根据的说法 该图像旋转90度counterclockwise,如下图所示。 与之相反的是EXIF方向6,我希望它显示为左,但它看起来是右边的。 医生
浏览 2
修改于2020-06-20
得票数 6
回答已采纳
1
回答
IOS ELCImagePicker从枚举类型ALAssetOrientation到不同枚举类型
UIImageOrientation
的隐式转换
enumeration type 'ALAssetOrientation' (aka 'enum ALAssetOrientation) to different enumeration type '
UIImageOrientation
' (aka '
UIImageOrientation
')orientation = [assetRep orientation];-
UIImageOrientation
o
浏览 5
提问于2014-10-01
得票数 2
回答已采纳
3
回答
旋转UIImage单点触控
switch (image.Orientation) { casetransform.Scale(-1, 1); case
UIImageOrientation
.Down: case
浏览 1
提问于2012-09-17
得票数 4
1
回答
快速3旋转的图像在ImageView中没有正确显示
) -> UIImage { if (img.imageOrientation ==
UIImageOrientation
.up|| img.imageOrientation ==
UIImageOrientation
.leftMirrored) { transform = transform.translatedBy|| img.imageOrientation ==
UIImageOrient
浏览 0
修改于2017-03-11
得票数 0
回答已采纳
3
回答
UIImage数据总是处于景观模式
SizeF imageSize = new SizeF (imgRef.Width, imgRef.Height);
UIImageOrientation
orient = image.Orientation; //EXIF = 1transform = CGAffineTransform.MakeIdentity(); } else if
浏览 6
修改于2011-01-19
得票数 2
回答已采纳
2
回答
AVAsset定向/旋转问题
firstAssetTrack = originalVideoTrack var firstAssetOrientation_ =
UIImageOrientation
.Up== 1.0 && firstTransform.c == -1.0 && firstTransform.d == 0 { firstAssetOrientation_ =
UIImageOrientation
.Right= -1.0
浏览 1
修改于2016-03-03
得票数 9
1
回答
我使用了以下单点缩放图像的代码,但它不能保持图像的质量
maxSize; bitmap = new CGBitmapContext (IntPtr.Zero/ 2); bitmap.TranslateCTM (0, -he
浏览 1
修改于2013-09-02
得票数 0
2
回答
我如何解决“语义问题”?
我已经下载了一个模板 + (UIImage *)imageWithCVMat:(const cv::Mat&)cvMat orientation:(
UIImageOrientation
UIImage alloc] initWithCVMat:cvMat orientation:0];我得到了一个错误 Cannot initialize a parameter of type '
UIImageOrientation
浏览 0
提问于2013-02-26
得票数 1
回答已采纳
2
回答
即使在发布后,CGImageRef也会使用大量内存。
error))completionHandler
UIImageOrientation
orientation = (
UIImageOrientation
)representation.orientation;CGImag
浏览 10
提问于2015-04-08
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券