Editing Cutting and Pasting PIX files

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
[[category:tutorials]]
+
=Cutting and Pasting Pix Files=
==Cutting and Pasting Pix Files==
 
  
 
In cutting and pasting with pix files can be used with two programs
 
In cutting and pasting with pix files can be used with two programs
Line 24: Line 23:
  
 
This takes the tempfile.pix and places it overtop otherfile.pix at 1024,0 for the whole size of tempfile.pix, and outputs the resulting picture to final.pix. the -w2048 -n1024 are the dimensions for the file that will have the region pasted into it, -W128 -N512 is the dimension of the cut region to be pasted, and -x -y is the starting position (lower left corner) where the pasting will begin. Then otherfile.pix is the file that will be the background image, and tempfile.pix is the cut region that will be placed on top of otherfile.pix, and final.pix is the final result picture once the pixpaste is completed.
 
This takes the tempfile.pix and places it overtop otherfile.pix at 1024,0 for the whole size of tempfile.pix, and outputs the resulting picture to final.pix. the -w2048 -n1024 are the dimensions for the file that will have the region pasted into it, -W128 -N512 is the dimension of the cut region to be pasted, and -x -y is the starting position (lower left corner) where the pasting will begin. Then otherfile.pix is the file that will be the background image, and tempfile.pix is the cut region that will be placed on top of otherfile.pix, and final.pix is the final result picture once the pixpaste is completed.
 +
[[category:commands]]

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)