Skip to content

DashDevmationsDash/Image-Penguinmodxtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 

Repository files navigation

Disclaimer: This Extension Must Run Unsandboxed

Images

A Penguinmod Extension That Lets You Create/Manipulate Images For Visual Stuff Idk Man

And If You Are Interested On The Updates Then Follows The Official Discord Thread

Blocks:

Image Givers

(Blank(X)x(Y)image) -> Image

no img?

Returns A Blank Image Of Width (X) And Height (Y)

(Open Canvas) -> Image

no img?

Shows A Canvas That Returns Thet Painted Image In The Canvas

Image Proportions

(Width Of(IMAGE)) -> Number

no img?

Gets The Width Of (IMAGE)

(Height Of(IMAGE)) -> Number

no img?

Gets The Height Of The (IMAGE)

Data Urls

(Data URL Of(IMAGE)) -> String

no img?

Gets The (IMAGE) As A Data URL

(From Data URL(URL)) -> Image

no img?

Makes A New Image From The (URL)

Visual

Set Texture Of(TARGET)To(IMAGE) -> Command

no img?

Sets The Texture Of (TARGET) to (IMAGE)

(Get Texture Of (TARGET)) -> Image

no img?

Gets The Texture Of (TARGET) That Can Be Set By Set Texture Of Block

Remove Texture Of(TARGET) -> Command

no img?

Removes Any Textures Set To (TARGET)

(Is(TARGET)Using A Texture) -> Boolean

no img?

Checks If The Target (TARGET) Is Using A Texture Set by The Set Texture Of Block

(Costumes Of(TARGET)) -> Array

no img?

Returns A Array Of All Costumes Of (TARGET) As Images

(Get Image Of(COSTUME)) -> Image

no img?

Gets The (COSTUME) As A Image

Pixel Manipulation

(Get Color Of Pixel(VECTOR)In(IMAGE)) -> String

no img?

Gets The Pixel On Location (VECTOR) In (IMAGE) (Top Left Is (1,1))

(Set Color Of Pixel(VECTOR)Of(IMAGE)To(COLOR)) -> Image

no img?

Creates A New Image Thats (IMAGE) But The Color At Pixel (VECTOR) Is Set To (COLOR) (Same Logic As Before)

(Get Average Pixel Of(IMAGE)) -> String

no img?

It Gets The Average Color Of (IMAGE) As A Hex Color

(Pixels Of(IMAGE)) -> Array

no img?

Gets An Array Of All The Pixels Of (IMAGE)

(From Pixels(ARRAY)) -> Image

no img?

Makes A New Image From Pixels (ARRAY)

Image Effects

(Invert(IMAGE)) -> Image

no img?

Inverts The Colors Of (IMAGE)

(Brighten(IMAGE)By(OFFSET)) -> Image

no img?

Brightens (IMAGE) By (OFFSET) That Goes From 0-255

(Rotate(IMAGE)By(ANGLE)) -> Image

no img?

It Returns A Version Of ´(IMAGE)´ Rotated ´(ANGlE)´ Degreens In Radians

(Scale(IMAGE)By(VECTOR)) -> Image

no img?

Scales (IMAGE) Horizontally By (VECTOR)'s x Axis And Vertically By (VECTOR)'s y Axis

(Change Transparency Of(IMAGE)By(OFFSET)) -> Image

no img? Changes The Transparency Of (IMAGE) By (OFFSET) That Also Goes From 0-255

(Tint(IMAGE)Color(COLOR)) -> Image

no img?

It Returns A Version Of (IMAGE) That's Just Has The Color (COLOR)

(Crop(IMAGE)At(V1)(V2)) -> Image

no img?

Crops (IMAGE) Were It Starts At (V1) And Ends At (V2) (Same Logic As In The Pixel Manipulation Blocks)

(Horizontally Flip(IMAGE)) -> Image

no img?

Returns A Version Of (IMAGE) Horizontally Flipped

(Vertically Flip(IMAGE)) -> Image

no img?

Returns A Version Of (IMAGE) Vertically Flipped

Image Mixxing

((A) HSV Mix (B)) -> Image

no img?

Returns A Image Where It Gets All Pixels Of (A) And (B) And Executes The Function In [MENU] To All Their Hue, Saturation, And Value

((A) RGB Mix (B)) -> Image

no img?

Returns A Image Where It Gets All Pixels Of (A) And (B) And Executes The Function In [MENU] To All Their Red, Green, And Blue

Gradients

(Linear Gradient That Goes From(A)To(B)) -> Image

no img?

Returns A Gradient That Goes From (A) To (B)

(Circular Gradient That Goes From(A)To(B)With Radius(RADIUS)) -> Image

no img?

Returns A Circular Gradient That Goes From (A) To (B) With A Radius Of (RADIUS)

About

Its An Extension Focused On Creating Images And Manipulate Their Pixels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors