오늘 발견한 아주 작고 귀여운 프로그램

giftrans 두둥~~~
걍 투명배경의 gif를 만들때 사용한다. 날씨 너무 좋은 토요일 아침 할 일이 없다….ㅜ.ㅠ


bsd# make install clean
===> Vulnerability check disabled
>> giftrans.c doesn’t seem to exist in /usr/ports/distfiles/giftrans.
>> Attempting to fetch from ftp://ftp.kr.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.kr.FreeBSD.org/pub/FreeBSD/ports/distfiles/giftrans.c: File unavailable (e.g., file not found, no access)
>> Attempting to fetch from ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/.
giftrans.c 100% of 26 kB 25 kBps
>> giftrans.1 doesn’t seem to exist in /usr/ports/distfiles/giftrans.
>> Attempting to fetch from ftp://ftp.kr.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.kr.FreeBSD.org/pub/FreeBSD/ports/distfiles/giftrans.1: File unavailable (e.g., file not found, no access)
>> Attempting to fetch from ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/.
giftrans.1 100% of 5242 B 15 kBps
===> Extracting for giftrans-1.12.2
>> Checksum OK for giftrans/giftrans.c.
>> Checksum OK for giftrans/giftrans.1.
===> Patching for giftrans-1.12.2
===> Applying FreeBSD patches for giftrans-1.12.2
===> Configuring for giftrans-1.12.2
===> Building for giftrans-1.12.2
(cd /usr/ports/graphics/giftrans/work; cc -O -pipe -march=pentiumpro giftrans.c -o giftrans)
===> Installing for giftrans-1.12.2
===> Generating temporary packing list
===> Checking if graphics/giftrans already installed
install -s -o root -g wheel -m 555 /usr/ports/graphics/giftrans/work/giftrans /usr/local/bin
install -o root -g wheel -m 444 /usr/ports/graphics/giftrans/work/giftrans.1 /usr/local/man/man1
===> Compressing manual pages for giftrans-1.12.2
===> Registering installation for giftrans-1.12.2
===> Cleaning for giftrans-1.12.2
bsd# cat pkg-descr
GIFtrans, a tool for GIF89a transparent option and interlace mode.

Usage: giftrans [-t color|-T] [-B color] [-b color] [-g oldcolor=newcolor]
[-c comment|-C] [-l|-L|-V] [-o filename] [-e filename] [filename]
Convert any GIF file into a GIF89a, with the folloing changes possible:
-t Specify the transparent color
-T Index of the transparent color is the background color index
-B Specify the transparent color’s new value
-b Specify the background color
-g Change a color in the global color table
-c Add a comment
-C Remove old comment
-l Only list the color table
-L Verbose output of GIFs contents
-V Verbose output while converting
-o Redirect stdout to a file
-e Redirect stderr to a file
Colors may be specified as index, as rgb.txt entry or in the #rrggbb form.

Example:

giftrans -t #ffffff original.gif > whitetrans.gif

One thought on “오늘 발견한 아주 작고 귀여운 프로그램

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.