
Zin ピクセルブロック化と減色処理 - ZinPixelFilter.js
シェア用テキスト:
▼Zin ピクセルブロック化と減色処理(Huuzin様作) - ZinPixelFilter.js
https://plugin-mz.fungamemake.com/archives/7229
ピクセルを数ドット分まとめたり色数を減らします。
ふりがな:ぴくせるぶろっくかとげんしょくしょり
機能概要: ピクセルを数ドット分まとめたり色数を減らします。
利用規約(ライセンス):https://github.com/huuzin-github/rpgmakermz/wiki/Licens…
作者:Huuzin
作者サイト:https://x.com/huuzin_net/
解説ページ:https://github.com/huuzin-github/rpgmakermz/wiki/PixelF…
ファイル名:ZinPixelFilter.js
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc ver 1.1.0 ピクセルブロック化と減色処理を行います * @author Huuzin * @url https://github.com/huuzin-github/rpgmakermz/wiki/PixelFilter * @base PluginCommonBase * @orderAfter PluginCommonBase * * @help * ピクセルを数ドット分まとめたり色数を減らします。 * * ---使用方法--- * 1. プラグインをONにします。 * 2. 好みに合わせてプラグインパラメータを調整してください。 * * ---動作確認--- * コアスクリプト:v1.3.0 * 本プラグインの動作にはPluginCommonBaseが必要です。 * PluginCommonBase: https://triacontane.blogspot.com/2020/08/rpgmz.html * @param pixelSize * @text ピクセルサイズ * @desc 1ピクセル当たり何ドットになるかを指定します。 * @default 3 * @type number * @min 1 * * @param colorMode * @text カラーモード * @desc 適用するカラーモードを選択します。 * @type select * @default SpecificColor * @option カラーモードなし * @value None * @option 等間隔モード * @value EquallySpaced * @option 特定色モード * @value SpecificColor * * * @param ***等間隔モード*** * @param isMonochrome * @text モノクロ化 * @desc モノクロにするかどうかを指定します。 * @default false * @type boolean * * @param sampleScale * @text 分解能 * @desc 各色成分を何色に分解するか指定します。 * @default 5 * @type number * @min 2 * * * @param ***特定色モード*** * @param toneAdjustment * @text トーン調整 * @desc 暗色と明色に基づいたトーン補正を行うかどうかを指定します。 * @default true * @type boolean * * @param colorNum * @text 色数 * @desc 色数を2~4で設定します。 * @type number * @default 4 * @min 2 * @max 4 * * @param darkestColor * @text 最暗色 * @desc 最も暗い色を指定します * @type struct<ColorMatrix> * @default {”red”:”50”,”green”:”84”,”blue”:”79”} * * @param secondColor * @text 第2色 * @desc 第2色を指定します * @type struct<ColorMatrix> * @default {”red”:”88”,”green”:”117”,”blue”:”79”} * * @param thirdColor * @text 第3色 * @desc 第3色を指定します * @type struct<ColorMatrix> * @default {”red”:”111”,”green”:”137”,”blue”:”79”} * * @param lightestColor * @text 第4色 * @desc 第4色を指定します * @type struct<ColorMatrix> * @default {”red”:”134”,”green”:”163”,”blue”:”90”} * * @param ditherMode * @text ディザモード * @desc ディザをかけるかどうかを指定します。 * @type boolean * @default true * * @param ditherPattern * @text ディザパターン * @desc ディザのパターンを示す画像を指定します。 * @type file * @dir img/system * * @param ditherLevel * @text ディザレベル(%) * @desc ディザのかけ具合を%で指定します。0%だと全くかけません。 * @type number * @default 30 * @min 0 * @max 100 * */
