iamcal / emoji-data

Easy to parse data and spritesheets for emoji
MIT License
2.55k stars 301 forks source link

EmojiSheet Pack Issue #208

Open rikensonaniNB opened 2 years ago

rikensonaniNB commented 2 years ago

s4 s5 i am using latest one "sheet_google_32" but i am trying to pack asset with 1 padding but latest one is not pack correctly. old once is pack correctly but some emoji not supported. so please check latest once and give solution as soon as possible. also i have attached old and latest screenshot please check thank you

rikensonaniNB commented 2 years ago

can you please update all sprite sheet into POT? for example : sheet_google_32 size is 20742074 using 16.4MB but you set and proper convert into 20482048 then size under 5MB. so if possible to update all sprite sheet so it's work correctly and use less size.

iamcal commented 2 years ago

For your first comment: The sheet is packed correctly. The image is 2074 pixels wide per side, with 61x61 images. Each images has 34 pixels of space, which is 32 pixels of image with a 1 pixel margin. This sizing is correct. Have you updated your code to have 61x61 images in the sheet?

iamcal commented 2 years ago

For your second comment: I don't know what POT is, and have been unable to find anything on Google. There are palette indexed versions of the sheets which reduce size, at the cost of lower color-correctness,

rikensonaniNB commented 2 years ago

i mean set the sheet size into Power of Two(like 128128, 256256, 512512, 10241024, 20482048, 40964096) For Example:sheet_google_32 size is 20742074 using 16.4MB but you set and proper convert into 20482048 then size under 5MB. so if possible to update all sprite sheet so it's work correctly and use less size.

FnCLeo commented 1 year ago

i need this too! all unity user want this.

iamcal commented 7 months ago

You are free to resize sheets to any size you want. However, the current set of images will not fit in 2048x2048 pixels at 32px each - there are just too many and they don't fit.

sssooonnnggg commented 6 months ago

https://github.com/sssooonnnggg/emoji_pot Hi, I created a tool to resolve this issue, it converts the 32x32 sheet to 30x30 sheet within a POT texture. (2048x2048)