Artwork Building Environment
Here you have how to render some CentOS images by your self.
Instead of just get uploading images all around ... we built a small environment formed by some shell scripts, some sed substitution files, and some svg templates; with the intention of let you rebuild (locally) the CentOS theme without too much effort.
Basically what you need to do is modify some svg templates and run the render script. With that two steps you'll be able to get anaconda images, wallpapers, login screen backgrounds, and grub splash backgrounds, for each CentOS version.
Image translations, like anaconda slides, were also taken into account here. They are sed substitution commands archived inside individual (.sed) files that can be edited with a text editor to add corrections. Later, you can run the render script to see your changes on the png files.
Additionally, some addons were added to let you build login screens, grub splash images, browser default welcome pages, apache 2 default test pages, customized versions of apache errors and some themes for the web applicatios we use.
|
CAUTION: In cases where we need to do color reduction, like in grub background and anaconda syslinux images, manual retouching is needed. |
|
|
NOTE: We tried to reduce color with ImageMagick's convert and mogrify tools, but sometimes the final image quality seems to be not as good as when we did it with GIMP. So that's why we end up using GIMP. |
|
1. Download
In order to use our image rendering environment the first thing you need to do is download the building environment files. These files are available in the artwork svn repo, and can be downloaded with the following command:
svn export https://projects.centos.org/svn/artwork/trunk/Main
Additionally the following addons are available for you to download:
svn export https://projects.centos.org/svn/artwork/trunk/ApacheErrorsDesign
svn export https://projects.centos.org/svn/artwork/trunk/BrowserDefaultPage
svn export https://projects.centos.org/svn/artwork/trunk/GrubSplashImage
svn export https://projects.centos.org/svn/artwork/trunk/LoginScreen
svn export https://projects.centos.org/svn/artwork/trunk/MantisThemeDesign
svn export https://projects.centos.org/svn/artwork/trunk/MoinThemeDesign
svn export https://projects.centos.org/svn/artwork/trunk/TracThemeDesign
then, try to get a directory structure like:
~/Artwork-BuildingEnv/
|- ApacheErrorsDesign
|- BrowserDefaultPage
|- GrubSplashImage
|- LoginScreen
|- Main
|- MantisThemeDesign
|- MoinThemeDesign
|- TracThemeDesign
2. Build template links
To build the template links you can run the following commands:
cd ~/Artwork-BuildingEnv/Main/svg/; chmod 750 build.sh; ./build.sh; cd ~/Artwork-BuildingEnv/;
3. Rendering
Now you can use the render.sh script to build the images.
3.1. Examples
To render CentOS5 anaconda slide images, in each languages available, run:
cd ~/Artwork-BuildingEnv/Main/; for i in `echo "cz de en es fr it ja nl pt pt_BR ro ru"`; do ./render.sh $i centos5-anaconda; done
To render anaconda slide images, in each available language, and for each available CentOS version, run:
cd ~/Artwork-BuildingEnv/Main/; for i in `echo "cz de en es fr it ja nl pt pt_BR ro ru"`; do ./render.sh $i anaconda; done
3.2. General syntax
./render <dirname> [filename]
<dirname> : is a directory name under TXT/. Part of its name can be used too.
[filename] : is a the name of the file under TXT/<dirname> you want to render. Part of its name can be used too.
If you don't use full names, all files or directories that match that criteria will be rendered too. For example if you do:
./render e
you'll end rendering directories like: de, en, es and wallpapers
Feel free to explore, there are much more combinations available.
3.3. Useful combinations
...
