!stickerpicker:maunium.net

Maunium sticker picker

326 Members
Discussion about maunium-stickerpicker - https://github.com/maunium/stickerpicker148 Servers

Load older messages


SenderMessageTime
28 Dec 2023
@github:maunium.netGitHub [maunium/stickerpicker] Repo forked into xrdn/stickerpicker 10:32:57
@zzz:eientei.orgzzz joined the room.14:07:49
@cauascp:matrix.orgFalconyKlayil is there a way i can add a gif? cat 14:42:29
@nannk:synapse.nannk.xyzcatno idea, read documentation if you can/can not, it would be documented15:15:42
@nannk:synapse.nannk.xyzcati think you can add animated stickers but you need to convert those https://github.com/maunium/stickerpicker/issues/615:17:25
@elliu:hashi.reElliuyou can15:17:48
@elliu:hashi.reElliuexample15:18:10
@cauascp:matrix.orgFalconyKlayil Elliu: do i need to use something to convert? 15:18:43
@elliu:hashi.reElliuas long as it's a gif, it will work15:19:02
@cauascp:matrix.orgFalconyKlayili tried adding a gif file it was stop on one frame15:19:28
@elliu:hashi.reElliuhow did you upload it?15:19:52
@elliu:hashi.reElliu when uploading it to the HS, you need to put the correct image/gif mimetype 15:20:16
@elliu:hashi.reElliudon't know if not doing that would make it be stuck on first frame, but possible15:20:29
@cauascp:matrix.orgFalconyKlayilmm15:20:29
@cauascp:matrix.orgFalconyKlayilhow do i put the mime type15:20:47
@elliu:hashi.reElliuyou need to add the "Content-Type: image/gif" on the post request when uploading the file15:21:53
@cauascp:matrix.orgFalconyKlayilum15:22:19
@cauascp:matrix.orgFalconyKlayilhow can i put that on sticker-pack bin?15:22:39
@cauascp:matrix.orgFalconyKlayilmodule15:22:46
@cauascp:matrix.orgFalconyKlayilidk15:22:47
@elliu:hashi.reElliualso, gif is a bit finicky, so depending on gif options and client, it can be displayed a bit differently (for example -dispose, -background, -coalesce if you convert using imagemagick. The "replay" (I don't remember the exact option right now) that decides if your gif is played once or looping for example (depending on the client, it might honor this or not))15:24:16
@elliu:hashi.reElliu
In reply to @cauascp:matrix.org
how can i put that on sticker-pack bin?
I don't know, I don't use that to upload the files to the HS sorry
15:24:34
@nannk:synapse.nannk.xyzcat
In reply to @elliu:hashi.re
you need to add the "Content-Type: image/gif" on the post request when uploading the file
thats what a client does when uploading an image
15:26:52
@elliu:hashi.reElliu but by reading https://github.com/maunium/stickerpicker/blob/f59406a47a6778cd402e656ffb64f667335f665a/sticker/pack.py#L51, it should already use the mime type image/gif, if you give it a valid gif 15:27:13
@elliu:hashi.reElliuwait you're not talking about pack.py?15:27:56
@cauascp:matrix.orgFalconyKlayil catElliu theres this warning when i use sticker-pack:
[Warning] Magic is not installed, using file extensions to guess mime types
15:33:21
@elliu:hashi.reElliuand your gif is correctly ending in .gif?15:34:07
@cauascp:matrix.orgFalconyKlayilmhm15:34:15
@cauascp:matrix.orgFalconyKlayilis magic a python lib? if so i use pip install magic then?15:35:29
@elliu:hashi.reElliuit's probably referring to imagemagick15:35:44

Show newer messages


Back to Room ListRoom Version: 6