This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Pixel Unscale v3 (Quantizer Compare) | |
| -- Quantization modes: kmeans / kmedoids / hybrid | |
| -- | |
| -- UI: k_colors | |
| -- | |
| -- Place in Aseprite scripts folder and run via Scripts menu. | |
| local pc = app.pixelColor | |
| local ColorMode = ColorMode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --############################################################################# | |
| -- Color Difference Based Noise Removal - OKLAB Color Space | |
| --############################################################################# | |
| local MAX_MERGE = 2000 | |
| local RED_HIGHLIGHT_COLOR = app.pixelColor.rgba(255, 60, 60, 255) | |
| local BLUE_HIGHLIGHT_COLOR = app.pixelColor.rgba(60, 60, 255, 255) | |
| -- 색상 차이 기반 노이즈 제거 임계값 설정 | |
| local DEFAULT_COLOR_THRESHOLD = 0.05 -- 기본 색상 차이 임계값 (OKLAB 공간에서) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using System.Linq; | |
| using AnimationImporter; | |
| using System.IO; | |
| [CustomEditor(typeof(DefaultAsset))] | |
| public class AseFileInspector: Editor | |
| { |