sanidhya711 / text-on-gif

a simple package for writing text on animated gifs
17 stars 3 forks source link

not working #2

Closed hardianto01 closed 3 years ago

hardianto01 commented 3 years ago

Screenshot_2021-06-02-11-26-22-298_com microsoft rdc android how ??

sanidhya711 commented 3 years ago

is the gif that you're trying to write on too long? does it have a very high frame rate? im aware of this issue but havent fixed it yet because I had forgotten bout this package. i'll try to fix it with 1-2 days. also you should sleep early XD

hardianto01 commented 3 years ago

is the gif that you're trying to write on too long? does it have a very high frame rate? im aware of this issue but havent fixed it yet because I had forgotten bout this package. i'll try to fix it with 1-2 days.

I use gif from readme.md then I post it to imgbb and I implement it in my code

sanidhya711 commented 3 years ago

are you using a old version of node? try updating it or try increasing the memory allocated to node. meanwhile i'll try to fix the memory leaks in my code(if i find any)

hardianto01 commented 3 years ago

Screenshot_2021-06-02-14-18-49-042_com microsoft rdc android Saya menggunakan v.14.17

hardianto01 commented 3 years ago

Screenshot_2021-06-02-14-22-27-280_com microsoft rdc android i try again use devploy to heroku and similarity

sanidhya711 commented 3 years ago

try running it locally again. but before that use this in ur command line export NODE_OPTIONS="--max-old-space-size=8192" also could you give me the link to ur gif?

hardianto01 commented 3 years ago

https://hardianto-chan.herokuapp.com/api/creator/memeGif?urlGif=YOUR_URL&text=customMessage&apikey=hardianto

sanidhya711 commented 3 years ago

this url gives me a error. it says application error. try uploading the gifs to imgur maybe or give me the imgbb link

hardianto01 commented 3 years ago

this url gives me a error. it says application error. try uploading the gifs to imgur maybe or give me the imgbb link https://i.ibb.co/2hnhDSw/68747470733a2f2f692e696d6775722e636f6d2f484f6435586b312e676966.gif

sanidhya711 commented 3 years ago

this url gives me a error. it says application error. try uploading the gifs to imgur maybe or give me the imgbb link https://i.ibb.co/2hnhDSw/68747470733a2f2f692e696d6775722e636f6d2f484f6435586b312e676966.gif

this url did work and it was able to write it as a file. also i published a new version where i replaced the foreach loop with a while loop to make it faster speed

hardianto01 commented 3 years ago

Screenshot_2021-06-02-15-30-40-528_com microsoft rdc android this work and how to set option in heroku

sanidhya711 commented 3 years ago

what worked? export NODE_OPTIONS="--max-old-space-size=8192 this? or updating the package? also i dont think heroku supports increasing the space size

sanidhya711 commented 3 years ago

update to the latest version of the package and the error should be fixed now . you don't need to use this anymore: export NODE_OPTIONS="--max-old-space-size=8192

hardianto01 commented 3 years ago

don't work this heroku

sanidhya711 commented 3 years ago

don't work this heroku

it works now. right?

sanidhya711 commented 2 years ago

@all-contributors please add @Cryptizism for Documentation

allcontributors[bot] commented 2 years ago

@sanidhya711

I've put up a pull request to add @Cryptizism! :tada: