Search found 6 matches
- 2012-02-26T14:30:01-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
Re: replace region of an image with another image
This nesting seems to work much faster and i would prefer it in my code, but your example returns the cropped region..?
- 2012-02-26T13:55:34-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
Re: replace region of an image with another image
Ok, i've got it: imconvert.exe c:\test_base.tga c:\test_region_cropped.tga -matte -geometry +168+18 -compose Copy -composite c:\test_result_5.tga imconvert.exe c:\test_base.tga c:\test_region_cropped.tga +matte -geometry +168+18 -compose Copy -composite c:\test_result_6.tga imconvert.exe c:\test ...
- 2012-02-26T12:57:52-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
Re: replace region of an image with another image
Thanks, this works with the newer version for Maya 2012, i can even skip "-alpha set" to get the right result. Because if i use the older version, imconvert says that "-alpha" is an unrecognized option. So with the older version this command imconvert.exe c:\test_base.tga c:\test_region_cropped.tga ...
- 2012-02-26T09:22:18-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
Re: replace region of an image with another image
Here are two example images (test_base.tga, test_region.tga), packed with winrar: http://rghost.net/36723054 This is the base image with its alpha channel on the right: http://i42.tinypic.com/11jn8eg.jpg and this is the region with a new refracting lens object: http://i44.tinypic.com/2hf05qu.jpg now ...
- 2012-02-25T17:22:30-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
Re: replace region of an image with another image
Yes, your first description is exactly what it should do, all of the background, alpha and color needs to be replaced by the region rectangle but all other pixels of the background outside the rectangle needs to be unaltered. The OS im using is windows and the imconvert.exe (so called here in the ...
- 2012-02-25T16:29:43-07:00
- Forum: Users
- Topic: replace region of an image with another image
- Replies: 11
- Views: 16911
replace region of an image with another image
Hi, thats my first post here, so hello everybody. Ok, i hope to make it short. I try to copy one image into another, in a way that my source image ( a small bitmap rectangle with an alpha channel) replaces all the pixel information (both color and alpha) of the second image. The second image also is ...