![]() ![]() Since NeoCities buttons are intended to be shared amongs webmasters I felt this format might be confusing to those newer to website design, even though it is supported by NeoCities.īy the end of all this I'd reduced Neocitizens from 27.5 MB to 10 MB and confirmed for myself that optimized. webp is it is primarily viewed in the browser. > exiftool -if "$FrameCount > 0" -directory=Animated *.gifīecause I'm clearly out of my mind, I also experimented with conversions to. gifs to see if the static gifs would benefit from a different file format. My next experiment was to isolate static. gif down to 284kb, which seems like a decent compromise. It's also not supported for NeoCities free accounts. webm is a lesser-known format that only plays in the browser. webm results in a size of 127kb, which is a significant reduction but. Converting vomitboyz.gif (originally 561kb) to. I also messed around with FFMPEG to convert the animations to other formats. The following did tremendous work: > gifsicle -batch -optimize -O3 -colors 256 -resize 88x31 *.gif Gifsicle actually has 3 levels of optimization, flagged by -O2 and -O3 respectively. For this I used Gifsicle, batch gif-editing program that has been ported to Windows. For example, amiya.gif was originally 697kb but after resizing and optimization I was able to reduce it to 29k. When those two are taken into account, all the remaining large buttons tend to be animated. An example of command line batch image resizing: > magick mogrify -resize 88x31 *.jpg There are many programs, suck as Imagemagick, that allow batch resizing images, and the remaining larger. gifs with dozens (hundreds, even) of frames Massive source images that are resized to 88x31 via CSS/HTML.Despite the size convention, the actual files run a wide range of sizes and dimensions and and include things like: When I need to unwind I go on button sprees and hoover up any buttons I find in the NeoCities activity feed. The most graphic-intensive page I have, by far, is my 88x31 archive. I have tried many image compression utilities and TinyPNG gives the best results. png is usually a good choice for images others might use (like non-animated buttons). webp is a good choice for images that have specific utility on a website and optimized. I usually mess around with a few different formats until I find the one that is best for the task, but broadly speaking. Generally, the main culprit for bloat is images. Optimized sites are more likely to survive as □ tombstones □. After that, byzanz will startīyzanz-record -verbose -delay=0 $ -duration=$D "$FOLDER/byzanz-record-region-$TIME.This dovetails with Jeff Huang's This Page is Designed to Last: A Manifesto for Preserving Content on the Web. #!/bin/bashĪRGUMENTS=$(xrectsel "-x=%x -y=%y -width=%w -height=%h") || exit -1Įcho Delaying $DELAY seconds. (If it protests there is no makefile, run. Clone the repository and run make to get the executable. If Default recording duration 10s to /tmp/recorded.gifīyzanz-record -verbose -delay=0 -x=$X -y=$Y -width=$W -height=$H $Dĭependency: xrectsel from xrectsel. Paplay /usr/share/sounds/KDE-Im-Irc-Event.ogg & # Sound notification to let one know when recording is about to start (and ends) See man byzanz-record or byzanz-record -help for more details. The -c flag tells byzanz to also include the cursor in the screencast. I included the -c flag in byzanz-record-window to illustrate that any arguments to my shell script are appended to byzanz-record itself. After 30 seconds (that's the meaning of 30 in step 1), byzanz ends.After the beep (defined in the beep function), byzanz will start.Wait 10 seconds (hard-coded in $DELAY), in which you prepare for recording.Go to the window (alt-tab) you want to capture.Run byzanz-record-window 30 -c output.gif.Here's an example on using the first script to make a screencast of a specific window. Save one/all of the following two scripts in a folder within your $PATH. The colours may be off in some cases, but the file size makes up for it. ![]() Thanks Bruno Pereira for introducing me to byzanz! It's quite useful for creating GIF animations. byzanz-record-region - To select a part of the screen for recording.byzanz-record-window - To select a window for recording.This answer contains three shell scripts: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |