arma2:texturing:imagemagick
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma2:texturing:imagemagick [2017/01/21 19:33] – created imagemagick initial page. snakeman | arma2:texturing:imagemagick [2024/10/13 20:45] (current) – v7.1.1-39 update. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ImageMagick ====== | + | ====== |
+ | |||
+ | [[https:// | ||
**Generic ImageMagick help, tips, tutorials etc.** | **Generic ImageMagick help, tips, tutorials etc.** | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | **2024-10-13T20: | ||
Line 15: | Line 19: | ||
</ | </ | ||
You can use what path you wish there. | You can use what path you wish there. | ||
+ | |||
+ | Seems that 20480 resolution image is fine, but 25600 starts to really bogg down win7 64bit with 16gb RAM. | ||
Line 21: | Line 27: | ||
How to use ImageMagick to convert indexed PNG image into RGB color: | How to use ImageMagick to convert indexed PNG image into RGB color: | ||
<code dos> | <code dos> | ||
- | convert indexed.png -define png: | + | magick |
</ | </ | ||
Take a note that when you convert large image, huge image... it takes quite long time and eats all the memory you have in your computer, strange thing even though its supposed to use the temp directory. But, it works. For example Photoshop CS6 does not save large PNG image with RGB color to PNG (it loads indexed, but doesn' | Take a note that when you convert large image, huge image... it takes quite long time and eats all the memory you have in your computer, strange thing even though its supposed to use the temp directory. But, it works. For example Photoshop CS6 does not save large PNG image with RGB color to PNG (it loads indexed, but doesn' | ||
Line 33: | Line 39: | ||
<code dos> | <code dos> | ||
set MAGICK_TEMPORARY_PATH=C: | set MAGICK_TEMPORARY_PATH=C: | ||
- | convert Satellite_texture_lco.png -resize 12800x12800 satellite_texture_12800_lco.png | + | magick |
- | convert Satellite_mask_lco.png -resize 12800x12800 satellite_mask_12800_lco.png | + | magick |
pause | pause | ||
</ | </ | ||
+ | |||
+ | |||
+ | ====== Imagemagick Append ====== | ||
+ | |||
+ | Append command merges two or more images together. | ||
+ | <code dos> | ||
+ | rem -append is TOP TO BOTTOM | ||
+ | rem +append is LEFT TO RIGHT | ||
+ | magick convert +append sat_A1.bmp sat_A2.bmp satellite_top.bmp | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Split Image to Tiles ====== | ||
+ | |||
+ | How to split image to specific resolution pieces with imagemagick? | ||
+ | <code dos> | ||
+ | magick convert test.png -crop 1024x1024 tiles.png | ||
+ | </ | ||
+ |
arma2/texturing/imagemagick.1485027219.txt.gz · Last modified: 2017/01/21 19:33 by snakeman