Google Palette算法的Objective-C版本,提取图像主要颜色的工具_Objective-C_代码_下载

上传者: 38334677 | 上传时间: 2022-06-15 09:07:00 | 文件大小: 43KB | 文件类型: ZIP
iOS调色板 为什么选择iOS-Palette 1.它总是帮助你提取你想要的颜色,没有像素数中最大的。就像这个案例: 您可以从演示截图中看到 6 个 TargetMode。它们通过不同的饱和度和亮度来区分(根据 HSL 颜色模式)。 LIGHT_VIBRANT_MODE (High Lightness , High Saturation) VIBRANT_MODE(Normal Lightness , High Saturation) DARK_VIBRANT_MODE(Dark Lightness , High Saturation) LIGHT_MUTED_MODE(High Lightness , Low Saturation) MUTED_MODE(Normal Lightness , Low Saturation) DARK_MUTED_MODE(Dark Lightness , Low Saturation) 可以通过 iOSPalette API 获得每种目标模式颜色! 2.它有助于将每一个RGB值组合成一个VBox,然后计算出最具代表性的颜色。

文件下载

资源详情

[{"title":"( 39 个子文件 43KB ) Google Palette算法的Objective-C版本,提取图像主要颜色的工具_Objective-C_代码_下载","children":[{"title":"iOSPaletteaster","children":[{"title":"iOSPalette","children":[{"title":"iOSPalette","children":[{"title":"Source","children":[{"title":"PriorityBoxArray.h <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"Palette.m <span style='color:#111;'> 24.58KB </span>","children":null,"spread":false},{"title":"UIImage+Palette.m <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"Model","children":[{"title":"PaletteColorModel.h <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"PaletteColorModel.m <span style='color:#111;'> 210B </span>","children":null,"spread":false}],"spread":true},{"title":"PaletteColorUtils.m <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"PaletteSwatch.m <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"UIImage+Palette.h <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"PriorityBoxArray.m <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Palette.h <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"PaletteColorUtils.h <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"PaletteSwatch.h <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"PaletteTarget.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"PaletteTarget.m <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"Info.plist <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"iOSPalette.h <span style='color:#111;'> 606B </span>","children":null,"spread":false}],"spread":true},{"title":"PaletteDemo","children":[{"title":"Assets.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main.m <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"ThirdLib","children":[{"title":"DemoShowColorSingleView.h <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"DemoShowColorSingleView.m <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"UIView+Geometry.m <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"UIColor+Hex.h <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"UIColor+Hex.m <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"UIView+Geometry.h <span style='color:#111;'> 759B </span>","children":null,"spread":false}],"spread":true},{"title":"AppDelegate.h <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.storyboard <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"ViewController.h <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"ViewController.m <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"iOSPaletteTests","children":[{"title":"iOSPaletteTests.m <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 680B </span>","children":null,"spread":false}],"spread":true},{"title":"PaletteDemoUITests","children":[{"title":"PaletteDemoUITests.m <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 680B </span>","children":null,"spread":false}],"spread":true},{"title":"PaletteDemoTests","children":[{"title":"PaletteDemoTests.m <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 680B </span>","children":null,"spread":false}],"spread":true},{"title":"iOSPalette.xcodeproj","children":[{"title":"project.pbxproj <span style='color:#111;'> 39.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明