User Tools

Site Tools


arma2:texturing:imagemagick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arma2:texturing:imagemagick [2017/02/28 07:20] – added append header. snakemanarma2:texturing:imagemagick [2024/10/13 20:45] (current) – v7.1.1-39 update. snakeman
Line 1: Line 1:
-====== ImageMagick ======+====== ArmA 2 ImageMagick ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
  
 **Generic ImageMagick help, tips, tutorials etc.** **Generic ImageMagick help, tips, tutorials etc.**
  
-[[http://www.imagemagick.org/|ImageMagick]] homepage.+[[http://www.imagemagick.org/|ImageMagick]] homepage. [[https://www.pmctactical.org/forum/viewtopic.php?t=22351|PMC Tactical Forum Topic]]. 
 + 
 +**2024-10-13T20:44:00Z** updated to Version: ImageMagick v7.1.1-39 Q16 x64
  
  
Line 23: 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:color-type=2 rgb.png+magick convert indexed.png -define png:color-type=2 rgb.png
 </code> </code>
 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't save RGB). 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't save RGB).
Line 35: Line 39:
 <code dos> <code dos>
 set MAGICK_TEMPORARY_PATH=C:\temp set MAGICK_TEMPORARY_PATH=C:\temp
-convert Satellite_texture_lco.png -resize 12800x12800 satellite_texture_12800_lco.png +magick convert Satellite_texture_lco.png -resize 12800x12800 satellite_texture_12800_lco.png 
-convert Satellite_mask_lco.png -resize 12800x12800 satellite_mask_12800_lco.png+magick convert Satellite_mask_lco.png -resize 12800x12800 satellite_mask_12800_lco.png
 pause pause
 </code> </code>
Line 47: Line 51:
 rem -append is TOP TO BOTTOM rem -append is TOP TO BOTTOM
 rem +append is LEFT TO RIGHT rem +append is LEFT TO RIGHT
-convert +append sat_A1.bmp sat_A2.bmp satellite_top.bmp+magick convert +append sat_A1.bmp sat_A2.bmp satellite_top.bmp
 </code> </code>
 +
 +
 +====== Split Image to Tiles ======
 +
 +How to split image to specific resolution pieces with imagemagick?
 +<code dos>
 +magick convert test.png -crop 1024x1024 tiles.png
 +</code>
 +
arma2/texturing/imagemagick.1488266444.txt.gz · Last modified: 2017/02/28 07:20 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.