• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Item images 12.85 for website

Gesior.pl

Mega Noob&LOL 2012
Senator
Joined
Sep 18, 2007
Messages
2,966
Solutions
99
Reaction score
3,382
Location
Poland
GitHub
gesior
Thank you for this amazing tool!

Otservbr expects clientid instead of serverid, so the generated link doesn't work there (the IDs are different), but I could generate it following the steps from your github link + items.otb from otservbr.

Is there any way to force it saving in .gif format? myaac expects it as .gif, but it's saving as .png.

Best regards
 
Is there any way to force it saving in .gif format? myaac expects it as .gif, but it's saving as .png.
It's generated in webbrowser and for some reason webbrowser got only PNG as output format.
I tried to use some JavaScript libraries to convert images from PNG to GIF, but they all had some problems with processing multiple images.
I use this tool and run it in CLI to convert PNG to GIF:
It process all images in items.zip with single command php cli_convert.php items.zip


It looks like I forgot to post it, but I've already made version for otservbr:
https://item-images.ots.me/1285_otservbr/
https://item-images-oracle.ots.me/1285_otservbr/

There are .png and .gif images.
You can also download it in .zip and create own host:
(file 1285_otservbr.zip )
 
Quick doubt, been trying to use the cli_convert.php script and got no luck.

The items.zip file is inside item-image-frames-to-animated-gif-converter folder.

Bash:
php cli_convert.php items.zip
Started converter - it may take few minutes to generate GIFs!
Exception occured during GIF generation: GifCreator: Under development: You have to give resource image variables, image URL or image binary sources in $frames array. (Dev)
 
Quick doubt, been trying to use the cli_convert.php script and got no luck.

The items.zip file is inside item-image-frames-to-animated-gif-converter folder.

Bash:
php cli_convert.php items.zip
Started converter - it may take few minutes to generate GIFs!
Exception occured during GIF generation: GifCreator: Under development: You have to give resource image variables, image URL or image binary sources in $frames array. (Dev)
Probably you used PHP 8 and GIF generator was not compatible with it.
I've updated generator. Now it works with PHP 7.0 - 8.2:
 
Back
Top