F
Filament3mo ago
Saturn

image editor mode with mode 0

hay, i know that filament doesn't support image editor mode on 0 , i mean imageEditorMode(0) but copper.js has that support. The reason i want to use it so that if my image is more than the specific size then i want that image to shrinkto that size eg: if actual size is 1080x1080 n i want image to be only 540x540 at that time what should i do?
2 Replies
Saturn
Saturn3mo ago
or my last option is to add description to file upload but i dont think we can do that
Rasasak
Rasasak2mo ago
Yeah it would be good I have tall image (for ex 512x1024) And I want save it as square ... so (1024x1024) = fill sides with alpha ... now, it crop square from original rectangle ... And I lost half the image ... 😦