This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arma3:terrain:darken-merge-picturemap-satellite-texture-tiles [2017-03-17 14:30] snakeman added screenshot info. |
arma3:terrain:darken-merge-picturemap-satellite-texture-tiles [2020-05-14 05:47] (current) snakeman updated to v7.0.10-11 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Darken Merge Picturemap Satellite Texture Tiles ====== | ====== Darken Merge Picturemap Satellite Texture Tiles ====== | ||
- | **HOWTO darken, merge and create picturemap from global mapper exported satellite texture tiles with Imagemagick.** | + | **HOWTO darken, merge and create picturemap from global mapper exported satellite texture tiles with [[arma2:texturing:imagemagick|Imagemagick]].** |
In these examples we use global mapper exported 4 x 4 satellite texture tiles which is great number as it works on all satellite types from 20,480 all the way up to monster 102,400 resolution. | In these examples we use global mapper exported 4 x 4 satellite texture tiles which is great number as it works on all satellite types from 20,480 all the way up to monster 102,400 resolution. | ||
+ | |||
+ | **2020-05-14** updated to Version: ImageMagick 7.0.10-11 Q16 x64 2020-05-09. | ||
Line 18: | Line 20: | ||
echo Dsat_A1 ... | echo Dsat_A1 ... | ||
- | convert sat_A1.png -brightness-contrast -30 Dsat_A1.bmp | + | magick convert sat_A1.png -brightness-contrast -30 Dsat_A1.bmp |
echo Dsat_A2 ... | echo Dsat_A2 ... | ||
- | convert sat_A2.png -brightness-contrast -30 Dsat_A2.bmp | + | magick convert sat_A2.png -brightness-contrast -30 Dsat_A2.bmp |
echo Dsat_A3 ... | echo Dsat_A3 ... | ||
- | convert sat_A3.png -brightness-contrast -30 Dsat_A3.bmp | + | magick convert sat_A3.png -brightness-contrast -30 Dsat_A3.bmp |
echo Dsat_A4 ... | echo Dsat_A4 ... | ||
- | convert sat_A4.png -brightness-contrast -30 Dsat_A4.bmp | + | magick convert sat_A4.png -brightness-contrast -30 Dsat_A4.bmp |
echo Dsat_B1 ... | echo Dsat_B1 ... | ||
- | convert sat_B1.png -brightness-contrast -30 Dsat_B1.bmp | + | magick convert sat_B1.png -brightness-contrast -30 Dsat_B1.bmp |
echo Dsat_B2 ... | echo Dsat_B2 ... | ||
- | convert sat_B2.png -brightness-contrast -30 Dsat_B2.bmp | + | magick convert sat_B2.png -brightness-contrast -30 Dsat_B2.bmp |
echo Dsat_B3 ... | echo Dsat_B3 ... | ||
- | convert sat_B3.png -brightness-contrast -30 Dsat_B3.bmp | + | magick convert sat_B3.png -brightness-contrast -30 Dsat_B3.bmp |
echo Dsat_B4 ... | echo Dsat_B4 ... | ||
- | convert sat_B4.png -brightness-contrast -30 Dsat_B4.bmp | + | magick convert sat_B4.png -brightness-contrast -30 Dsat_B4.bmp |
echo Dsat_C1 ... | echo Dsat_C1 ... | ||
- | convert sat_C1.png -brightness-contrast -30 Dsat_C1.bmp | + | magick convert sat_C1.png -brightness-contrast -30 Dsat_C1.bmp |
echo Dsat_C2 ... | echo Dsat_C2 ... | ||
- | convert sat_C2.png -brightness-contrast -30 Dsat_C2.bmp | + | magick convert sat_C2.png -brightness-contrast -30 Dsat_C2.bmp |
echo Dsat_C3 ... | echo Dsat_C3 ... | ||
- | convert sat_C3.png -brightness-contrast -30 Dsat_C3.bmp | + | magick convert sat_C3.png -brightness-contrast -30 Dsat_C3.bmp |
echo Dsat_C4 ... | echo Dsat_C4 ... | ||
- | convert sat_C4.png -brightness-contrast -30 Dsat_C4.bmp | + | magick convert sat_C4.png -brightness-contrast -30 Dsat_C4.bmp |
echo Dsat_D1 ... | echo Dsat_D1 ... | ||
- | convert sat_D1.png -brightness-contrast -30 Dsat_D1.bmp | + | magick convert sat_D1.png -brightness-contrast -30 Dsat_D1.bmp |
echo Dsat_D2 ... | echo Dsat_D2 ... | ||
- | convert sat_D2.png -brightness-contrast -30 Dsat_D2.bmp | + | magick convert sat_D2.png -brightness-contrast -30 Dsat_D2.bmp |
echo Dsat_D3 ... | echo Dsat_D3 ... | ||
- | convert sat_D3.png -brightness-contrast -30 Dsat_D3.bmp | + | magick convert sat_D3.png -brightness-contrast -30 Dsat_D3.bmp |
echo Dsat_D4 ... | echo Dsat_D4 ... | ||
- | convert sat_D4.png -brightness-contrast -30 Dsat_D4.bmp | + | magick convert sat_D4.png -brightness-contrast -30 Dsat_D4.bmp |
echo All done! | echo All done! | ||
Line 73: | Line 75: | ||
echo resizing Ax ... | echo resizing Ax ... | ||
- | convert Dsat_A1.bmp -resize 512x512 temp_A1.bmp | + | magick convert Dsat_A1.bmp -resize 512x512 temp_A1.bmp |
- | convert Dsat_A2.bmp -resize 512x512 temp_A2.bmp | + | magick convert Dsat_A2.bmp -resize 512x512 temp_A2.bmp |
- | convert Dsat_A3.bmp -resize 512x512 temp_A3.bmp | + | magick convert Dsat_A3.bmp -resize 512x512 temp_A3.bmp |
- | convert Dsat_A4.bmp -resize 512x512 temp_A4.bmp | + | magick convert Dsat_A4.bmp -resize 512x512 temp_A4.bmp |
echo resizing Bx ... | echo resizing Bx ... | ||
- | convert Dsat_B1.bmp -resize 512x512 temp_B1.bmp | + | magick convert Dsat_B1.bmp -resize 512x512 temp_B1.bmp |
- | convert Dsat_B2.bmp -resize 512x512 temp_B2.bmp | + | magick convert Dsat_B2.bmp -resize 512x512 temp_B2.bmp |
- | convert Dsat_B3.bmp -resize 512x512 temp_B3.bmp | + | magick convert Dsat_B3.bmp -resize 512x512 temp_B3.bmp |
- | convert Dsat_B4.bmp -resize 512x512 temp_B4.bmp | + | magick convert Dsat_B4.bmp -resize 512x512 temp_B4.bmp |
echo resizing Cx ... | echo resizing Cx ... | ||
- | convert Dsat_C1.bmp -resize 512x512 temp_C1.bmp | + | magick convert Dsat_C1.bmp -resize 512x512 temp_C1.bmp |
- | convert Dsat_C2.bmp -resize 512x512 temp_C2.bmp | + | magick convert Dsat_C2.bmp -resize 512x512 temp_C2.bmp |
- | convert Dsat_C3.bmp -resize 512x512 temp_C3.bmp | + | magick convert Dsat_C3.bmp -resize 512x512 temp_C3.bmp |
- | convert Dsat_C4.bmp -resize 512x512 temp_C4.bmp | + | magick convert Dsat_C4.bmp -resize 512x512 temp_C4.bmp |
echo resizing Dx ... | echo resizing Dx ... | ||
- | convert Dsat_D1.bmp -resize 512x512 temp_D1.bmp | + | magick convert Dsat_D1.bmp -resize 512x512 temp_D1.bmp |
- | convert Dsat_D2.bmp -resize 512x512 temp_D2.bmp | + | magick convert Dsat_D2.bmp -resize 512x512 temp_D2.bmp |
- | convert Dsat_D3.bmp -resize 512x512 temp_D3.bmp | + | magick convert Dsat_D3.bmp -resize 512x512 temp_D3.bmp |
- | convert Dsat_D4.bmp -resize 512x512 temp_D4.bmp | + | magick convert Dsat_D4.bmp -resize 512x512 temp_D4.bmp |
echo combine temp_Ax ... | echo combine temp_Ax ... | ||
- | convert +append temp_A1.bmp temp_A2.bmp temp_A3.bmp temp_A4.bmp temp_Ax.bmp | + | magick convert +append temp_A1.bmp temp_A2.bmp temp_A3.bmp temp_A4.bmp temp_Ax.bmp |
echo combine temp_Bx ... | echo combine temp_Bx ... | ||
- | convert +append temp_B1.bmp temp_B2.bmp temp_B3.bmp temp_B4.bmp temp_Bx.bmp | + | magick convert +append temp_B1.bmp temp_B2.bmp temp_B3.bmp temp_B4.bmp temp_Bx.bmp |
echo combine temp_Cx ... | echo combine temp_Cx ... | ||
- | convert +append temp_C1.bmp temp_C2.bmp temp_C3.bmp temp_C4.bmp temp_Cx.bmp | + | magick convert +append temp_C1.bmp temp_C2.bmp temp_C3.bmp temp_C4.bmp temp_Cx.bmp |
echo combine temp_Dx ... | echo combine temp_Dx ... | ||
- | convert +append temp_D1.bmp temp_D2.bmp temp_D3.bmp temp_D4.bmp temp_Dx.bmp | + | magick convert +append temp_D1.bmp temp_D2.bmp temp_D3.bmp temp_D4.bmp temp_Dx.bmp |
echo combine picturemap_ca.tga ... | echo combine picturemap_ca.tga ... | ||
- | convert -append temp_Ax.bmp temp_Bx.bmp temp_Cx.bmp temp_Dx.bmp picturemap_ca.tga | + | magick convert -append temp_Ax.bmp temp_Bx.bmp temp_Cx.bmp temp_Dx.bmp picturemap_ca.tga |
echo creating screenshot ... | echo creating screenshot ... | ||
- | convert picturemap_ca.tga -resize 1024x1024 screenshot.png | + | magick convert picturemap_ca.tga -resize 1024x1024 screenshot.png |
echo deleting temp files ... | echo deleting temp files ... | ||
if exist temp_*.bmp del temp_*.bmp | if exist temp_*.bmp del temp_*.bmp | ||
Line 135: | Line 137: | ||
rem top left | rem top left | ||
echo A1 + A2 ... | echo A1 + A2 ... | ||
- | convert +append Dsat_A1.bmp Dsat_A2.bmp temp_up.bmp | + | magick convert +append Dsat_A1.bmp Dsat_A2.bmp temp_up.bmp |
echo B1 + B2 ... | echo B1 + B2 ... | ||
- | convert +append Dsat_B1.bmp Dsat_B2.bmp temp_bottom.bmp | + | magick convert +append Dsat_B1.bmp Dsat_B2.bmp temp_bottom.bmp |
echo top_left ... | echo top_left ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp top_left.bmp | + | magick convert -append temp_up.bmp temp_bottom.bmp top_left.bmp |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 146: | Line 148: | ||
rem top right | rem top right | ||
echo A3 + A4 ... | echo A3 + A4 ... | ||
- | convert +append Dsat_A3.bmp Dsat_A4.bmp temp_up.bmp | + | magick convert +append Dsat_A3.bmp Dsat_A4.bmp temp_up.bmp |
echo B3 + B4 ... | echo B3 + B4 ... | ||
- | convert +append Dsat_B3.bmp Dsat_B4.bmp temp_bottom.bmp | + | magick convert +append Dsat_B3.bmp Dsat_B4.bmp temp_bottom.bmp |
echo top_right ... | echo top_right ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp top_right.bmp | + | magick convert -append temp_up.bmp temp_bottom.bmp top_right.bmp |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 157: | Line 159: | ||
rem bottom left | rem bottom left | ||
echo C1 + C2 ... | echo C1 + C2 ... | ||
- | convert +append Dsat_C1.bmp Dsat_C2.bmp temp_up.bmp | + | magick convert +append Dsat_C1.bmp Dsat_C2.bmp temp_up.bmp |
echo D1 + D2 ... | echo D1 + D2 ... | ||
- | convert +append Dsat_D1.bmp Dsat_D2.bmp temp_bottom.bmp | + | magick convert +append Dsat_D1.bmp Dsat_D2.bmp temp_bottom.bmp |
echo bottom_left ... | echo bottom_left ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp bottom_left.bmp | + | magick convert -append temp_up.bmp temp_bottom.bmp bottom_left.bmp |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 168: | Line 170: | ||
rem bottom right | rem bottom right | ||
echo C3 + C4 ... | echo C3 + C4 ... | ||
- | convert +append Dsat_C3.bmp Dsat_C4.bmp temp_up.bmp | + | magick convert +append Dsat_C3.bmp Dsat_C4.bmp temp_up.bmp |
echo D3 + D4 ... | echo D3 + D4 ... | ||
- | convert +append Dsat_D3.bmp Dsat_D4.bmp temp_bottom.bmp | + | magick convert +append Dsat_D3.bmp Dsat_D4.bmp temp_bottom.bmp |
echo bottom_right ... | echo bottom_right ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp bottom_right.bmp | + | magick convert -append temp_up.bmp temp_bottom.bmp bottom_right.bmp |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp |