Converting ZIP containing images to gif

5 posts Page 1 of 1
Contributors
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

Hello i have an online zip file that i want to convert to a gif file the zip file contains multiple image jpeg files.

Can anyone help me out how i can achieve this, ive seen others do this but i just cant figure out how i can do it?
https://t.me/pump_upp
User avatar
visualtech
VIP - Donator
VIP - Donator
Posts: 265
Joined: Sat Nov 19, 2011 2:19 pm

This should be fairly easy; all you have to do is to extract (read) that zip file, take all the images, bind them in sequence and violá. There are many libraries which extract a zip file like https://stuk.github.io/jszip/ and there are libraries to convert jpeg to gif like https://github.com/shachaf/jsgif :)
Image
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

visualtech wrote:
This should be fairly easy; all you have to do is to extract (read) that zip file, take all the images, bind them in sequence and violá. There are many libraries which extract a zip file like https://stuk.github.io/jszip/ and there are libraries to convert jpeg to gif like https://github.com/shachaf/jsgif :)
Ive been trying to do this with gif js and zipjs but i just cant figure out how zipjs works, ive read the documentation but just cant seem to get what i need out of it. Any ideas ?

BTW. the zip is not on my own server its for a chrome extension im creating. The zip is on a website and should be downloaded, but i have that part
https://t.me/pump_upp
User avatar
visualtech
VIP - Donator
VIP - Donator
Posts: 265
Joined: Sat Nov 19, 2011 2:19 pm

Hmm... What, exactly, is the problem?
Image
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

visualtech wrote:
Hmm... What, exactly, is the problem?
I dont know how i get the image data from the zip file all i seem to get is the filenames
https://t.me/pump_upp
5 posts Page 1 of 1
Return to “Help & Support”