카테고리 없음

splash 이미지에 대한 고찰

이성권 2015. 3. 7. 10:09

http://frantisek.rysanek.sweb.cz/splash/isolinux-splash-HOWTO.html

보다 보면 lss 이미지 파일 포맷이 필요해 진다. 아주 오래 전에 이미지 포맷에 꽂혀서 대부분의 이미지를 다뤘던 기억이 있다. 아마도, jpeg나오고 mpeg2 (동영상)이 나오면서 흥미를 잃어가기 시작했던 것으로 기억난다. 

http://forum.falinux.com/zbxe/index.php?document_srl=461805&mid=ezboard

이 글도 나름 잘 정리된 글이다.


"mtpaint-3.40-setup.exe이란 프로그램을 이용해서, png -> lss로 변경하는 방법에 관한 글이다. 주의할 것은 인덱스방식 파렛트(rgb 집합중에서 16개만 허용)인데, 16칼라(16개 색으로 제한)로 해야 한다는 것이다.

http://smallbusiness.chron.com/changing-png-lss-38305.html


* mtPaint 의 github사이트이다.

https://github.com/wjaguar/mtPaint


* mtPaint 소스포지 사이트이다.

http://sourceforge.net/projects/mtpaint/files/mtpaint/3.40/


* 펄 스크립트로 이미지를 변환(이미지 파일 읽고, 포맷 변경하여 저장)하는 것에 대한 글이다.

https://xuniltech.wordpress.com/2012/11/23/change-splash-image-in-redhatcentos-installer/

잘~ 쓴 글이다. 이 페이지의 아래 부분에 캡쳐해 놓겠다.


* syslinux 에 속한 펄 유틸리티 'ppmtolss16' 스크립트 소스가 관리되고 있다.

 https://github.com/joyent/syslinux/tree/master/utils


* 역시, 스크립트로 되어 있다.

http://lutung.lib.ums.ac.id/linux/PuppyLinux/docs/make_splash_screen.txt


* mtPaint에서 16칼라로 하지 않으면 잘 안될 것이라는 얘기 ㅎㅎ

http://murga-linux.com/puppy/viewtopic.php?t=96684&sid=e4281de609d5dfbf5a5cef8d168f6a5c


* 내 의도와는 조금 다른 글이다. grub에서 이미지 변경방법을 기술하고 있다.잘~

http://daddy-linux.blogspot.kr/2012/02/custom-grub-splash-image.html


*


Change splash image in Redhat/Centos Installer

23NOV

Splash image in Redhat/CentOS installer is present in isolinux directory.

isolinux/splash.lss

The graphic is in a somewhat odd format, called LSS16. As the name indicates, it is limited to 16 colors. To edit the graphic, first convert it to a PPM:

lss16toppm < splash.lss > splash.ppm

Its better to use new .gif image.

Next, edit the file using The Gimp. Save the resulting file as an indexed gif withno more than 14 colors (plus black and white, for a total of 16).

To set the maximum number of colours – goto the Image Menu —>Mode—>Indexed option. Change the maximum number of colors to 14 and click on theConvert button (although convert.exe (ImageMagick tool) can also be used to limit the maximum number of colours to 14 – the palette will not be optimised and the image is likely to be of poor quality. Using GIMP as outlined above will result in a much better image).

Then, convert the file to a pnm/ppm:

giftopnm < splash.gif > splash.ppm

Before taking the next step and converting the ppm file to an LSS, ensure that the LANG environment variable is set to en_US. RedHat 9’s default LANG variable is en_US.UTF-8, which will cause the LSS conversion to fail. To actually convert the ppm to a n lss, use this command:

ppmtolss16 < splash.ppm > splash.lss