[vtkusers] Question on Image Background transparency

rakesh patil prakeshofficial at gmail.com
Fri Jun 3 04:26:43 EDT 2011


Thanks Dzenan.. That really helped me.. But when I use the magnification, it
produces black line on the output image.. for example if i set magnification
to 2, then it shows black line forming x and y axis.. If the magnification
is set to 3, then the no of lines increases to two both horizontally and
vertically. How can i eliminate these lines..?? Any idea..??

Thanks again

2011/5/5 Dženan Zukić <dzenanz at gmail.com>

> Does this example<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot>help?
>
> On Mon, Apr 18, 2011 at 07:51, rakesh patil <prakeshofficial at gmail.com>wrote:
>
>> Hi David,
>>
>> Not exactly!! Check the link below
>>
>>
>> http://www.wired.com/wiredscience/2009/08/sea-floor-sunday-52-florida-bathymetry-kmz-file/
>>
>> I need something like the one shown in this image. This is just a sample
>> image I got it googled. The banded contour I get it in my application. And I
>> need to port that image on google earth. Now in my application background
>> color is white in color, And when i capture the image from my application,
>> it will come with white backgroud. And after portin it to google earth,
>> white patch will be formed and the land part wont be visible. Thus, I need
>> to make the background of the captured image transparent.
>>
>> Is there any way to do it..??
>>
>> Thanks in advance
>> On Fri, Apr 15, 2011 at 4:59 PM, David Doria <daviddoria at gmail.com>wrote:
>>
>>>   On Fri, Apr 15, 2011 at 2:00 AM, rakesh patil <
>>> prakeshofficial at gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>>
>>>> Well, isnt there any method to make the background of an image
>>>> transparent.?? Whatever exists as white color on the renderer, should be
>>>> trasparent. Because, the output of my application should be an image which
>>>> can be ported onto the Google Earth. Now on google earth it wont look good
>>>> with white background stuff. So i need to make that background transparent.
>>>> How is it possible..??
>>>>
>>>> Thanks
>>>>
>>>>
>>>> Regards
>>>> Rakesh Patil
>>>>
>>>
>>> Like this? http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency
>>>
>>> David
>>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110603/834e76fa/attachment.htm>


More information about the vtkusers mailing list