2 Star 2 Fork 1

Eran / ScaleImgEditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

#ScaleImgEditor

###界面

01

###用途

9-Scale 或者 3-Scale(目前没实现) 一张图片,并将散图保存到本地,方便后续工具集成

###使用方法

  1. 将需要9-Scale的图片拖入左边的区域
  2. 调整绿色滑块设置大小
  3. 在右侧的窗口(右侧窗口为Starling) 查看最终的效果
  4. 满意后点击保存按钮,选择一个目录保存
  5. 保存的PNG文件名称为:
topLeft.png       topMiddle.png      topRight.png  

leftMiddle.png    middle.png         rightMiddle.png  

bottomLeft.png    bottomMiddle.png   bottomRight.png  

###ShoeBox问题

01

如果使用ShoeBox进行Packer纹理时候,需要将Tex Crop Alpha 选项关闭
否则ShoeBox会在Packer时候改变图片的宽高(抹除Alpha为0的部分),这样会导致Scale9的区域无法对齐

###ISSUE

iamzealotwang@126.com

The MIT License (MIT) Copyright (c) 2014 Eran Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

用来编辑可以Scale9和Scale3缩放的图片 展开 收起
ActionScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
ActionScript
1
https://gitee.com/eran/ScaleImgEditor.git
git@gitee.com:eran/ScaleImgEditor.git
eran
ScaleImgEditor
ScaleImgEditor
master

搜索帮助