Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would imagine because the author wants to show moving pictures of the project.


yes, but a 15 fps gif, where a majority of frames are just duplicates of the previous image? AND 265 colours? (Photoshop crashed my GPU trying to even display the this) I could cut this shit down to less than 1MB if I tried, retaining the horrible gif format.

There's no excuse for the file sizes to be this dramatic, apart from outright laziness


I was using a software to capture the screen as GIF. The original file size for a single file was around 2x mb. I am by no mean an image expert, so I only used ImageOptim and some online services. And they are what I got. I will be glad to know if you know how I could downsize improperly a GIF.


Depending on how the desktop is encoded (sometimes it's a video encoded to a gif), you may get artifacts etc. that make every frame different. But if that's not the case, and the snapshot of each frame is pretty much 1:1 on what's on the desktop, you can use Imagemagick to remove duplicate frames

https://www.imagemagick.org/Usage/anim_opt/#removedups

And right above this paragraph is a dope technique to use overlays and a non-dispose of frames to make the gif only change which pixels are being updated (like a video format I guess).

This might sound pretty complex, and sure, That's fair, we are coming up on 30 years since an update to the format. People just generally use videos these days for desktop recording since they're more suited for the job, at a even lower filesize


> This might sound pretty complex, and sure, That's fair, we are coming up on 30 years since an update to the format. People just generally use videos these days for desktop recording since they're more suited for the job, at a even lower filesize

Out of curiosity, any idea what formats you'd choose to embed in a Github readme? Videos or otherwise, I'm not sure which play well when embedded, and are GitHub allowed, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: