rokojori_action_library/Runtime/Procedural/Textures/PNGSettings.cs

20 lines
397 B
C#
Raw Normal View History

2025-07-03 08:34:35 +00:00
using System.Collections;
using System.Collections.Generic;
using Godot;
using System;
using System.Threading.Tasks;
2026-05-22 12:25:02 +00:00
using Rokojori.Extensions;
2025-07-03 08:34:35 +00:00
namespace Rokojori
{
[Tool]
[GlobalClass]
public partial class PNGSettings:ImageSaveSettings
{
public override void Save( Image image, string path )
{
path = path.EnsureEndsWith( ".png" );
image.SavePng( path );
}
}
}