﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SmartCode Solutions Web Forum » SmartCode ViewerX VNC Viewer ActiveX » General Discussion  » Thumbnails GetScreenBitmapScaled, scaleEnable</title><generator>InstantForum.NET 2010-4</generator><description>SmartCode Solutions Web Forum</description><link>http://www.s-code.com/forum/</link><webMaster>SmartCode Solutions Web Forum</webMaster><lastBuildDate>Wed, 08 Sep 2010 23:57:18 GMT</lastBuildDate><ttl>20</ttl><item><title>Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2792.aspx</link><description>I tried to create thumbnails with ViewerX and look at the found &lt;A href="http://s-code.com/forum/Topic1830-6-1.aspx"&gt;http://s-code.com/forum/Topic1830-6-1.aspx&lt;/A&gt; which works. I have to scale the bitmap myself however. &lt;/P&gt;&lt;P&gt;In the activex methods I found the method &lt;SPAN lang=EN-GB&gt;GetScreenBitmapScaled, but this always returns a black bitmap. In the activex methods I found the method &lt;SPAN lang=EN-GB&gt;GetScreenBitmapScaled, but this always returns a black bitmap. Is it a bug?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang=EN-GB&gt;&lt;SPAN lang=EN-GB&gt;Also when I set scaleEnable, scaleDen and scaleNum, I get scaled image in the active viewer &amp;#119;indow. I support this has the server scaled image, right? However when I ask for the ScreenBitmap, I still get the full resolution bitmap. Why?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The goal is to reduce the network traffic by transferring only server scaled bitmaps from the VNC servers to the client.&lt;SPAN lang=EN-GB&gt;&lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Sat, 13 Feb 2010 01:59:02 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2951.aspx</link><description>[quote]Yes please add the server side scaling feature.[/quote]&lt;BR&gt;Most probably it will be added within next two weeks. As I said to add this feature to the ViewerX will take just about 10+ lines of code.&lt;P&gt;[quote]Is is possible to ask the server for the number of connected clients?[/quote]&lt;BR&gt;Nope, the RFB protocol used by VNC doesn't support such feature.&lt;BR&gt;&lt;BR&gt;[quote]I also think that the image corruption with multiple viewers is a bug[/quote]&lt;BR&gt;Actually I think it's a "by design" flaw. I'm a bit familiar with the UltraVNC server internal and I think there is no simple way to fix this problem. So I expect this issue to stay as it's now for a while.</description><pubDate>Sat, 13 Feb 2010 01:59:02 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2950.aspx</link><description>Yes please add the server side scaling feature.&lt;br&gt;I have only one connection to the server in 99% of all cases so it should be ok.&lt;br&gt;Is is possible to ask the server for the number of connected clients? It so I could revert to normal mode, when more than one client wants to connect. If the protocol allows that, please also add this to the viewer control. &lt;br&gt;&lt;br&gt;I also think that the image corruption with multiple viewers is a bug and should be addressed in the ultravnc forums, so this bug can be fixed. Maybe you do this or provide me with enough technical information that I can do this.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Carsten</description><pubDate>Sat, 13 Feb 2010 00:47:05 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2949.aspx</link><description>[quote][b]carsten (2/3/2010)[/b][hr]Is this fixed now?[/quote]&lt;BR&gt;&lt;BR&gt;It's not hold for now. Technically it's very easy to implement; probably 10 lines of the source code or so. But server-side scaling implementation in UltraVNC server is a complete joke. It only works with a single client. If more than one client connects to such server, the screen image becomes corrupt on all connected clients. &lt;BR&gt;We might add this as an “experimental” feature in the 3.0.3.0 build. But really, the way this feature is implemented in UltraVNC Server makes it totally unusable for any practical purposes. &lt;BR&gt;</description><pubDate>Thu, 11 Feb 2010 01:11:33 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2948.aspx</link><description>What ist the status of server side scaling? Is it already implemented? Which version?</description><pubDate>Thu, 11 Feb 2010 00:28:12 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2937.aspx</link><description>[quote][b]carsten (2/3/2010)[/b][hr]Is this fixed now?[/quote]&lt;/P&gt;&lt;P&gt;Yes, GetScreenBitmapScaled is implemented in the v3.0.2.1. We also updated the C# sample application, with a sample on how to use this API method.</description><pubDate>Wed, 03 Feb 2010 17:34:58 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2936.aspx</link><description>Is this fixed now?</description><pubDate>Wed, 03 Feb 2010 17:14:53 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2854.aspx</link><description>I've looked at this it does return 1 bit bitmap indeed. I suspect this is the reason why this method is not listed in the CHM file, because it's not exactly working as it supposed to.&lt;BR&gt;&lt;BR&gt;This gonna be fixed within 7-10 days. &lt;BR&gt;&lt;BR&gt;When the method is fully implemented and ready for public consumption the caller will have to free the HBITMAP handle returned.</description><pubDate>Wed, 09 Dec 2009 18:31:45 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2852.aspx</link><description>Any news on the 2 points?</description><pubDate>Wed, 09 Dec 2009 14:35:43 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2805.aspx</link><description>To the other question: What should getBitmapScaled return. Should it return the bitmap handle to the scaled bitmap? How many colors should be there (because I get only 1 bit). Do I have to set the number of colors somewhere?&lt;br&gt;&lt;br&gt;And: How is the owner of the handle? How has to free it? Is it the caller how has to free this bitmap? I saw that I get another bitmap handle each time I call the functions, os I suppose I have to free it too. In contrast getScreenBitmap seems to always return the same handle, and I must not free it. Right?&lt;br&gt;&lt;br&gt;This information and also some functions are not documented in the help file. Perhaps you could add the information.</description><pubDate>Tue, 17 Nov 2009 15:37:45 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2801.aspx</link><description>hmm...that's interesting. I'll have to check on this also. If UVNC really supports it, support for the server side scaling feature will be added to the ViewerX and VNC Manager within one or two weeks.</description><pubDate>Tue, 17 Nov 2009 06:05:37 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2800.aspx</link><description>UltraVNC &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;does&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; support Server-Side-Scaling:&lt;/P&gt;&lt;P&gt;1) Please check the main page: &lt;A href="http://www.uvnc.com"&gt;http://www.uvnc.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;Citation: "Key features&lt;/SPAN&gt;: &lt;SPAN style="COLOR: rgb(153,0,0); FONT-WEIGHT: bold"&gt;File transfer&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(0,0,153); FONT-WEIGHT: bold"&gt;Video driver&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(0,102,0); FONT-WEIGHT: bold"&gt;Optional Encryption Plugins&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(102,51,102); FONT-WEIGHT: bold"&gt;MS Logon&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(153,102,51); FONT-WEIGHT: bold"&gt;Text chat&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(51,153,153); FONT-WEIGHT: bold"&gt;Viewer Toolbar&lt;/SPAN&gt;, &lt;SPAN style="COLOR: rgb(102,102,204); FONT-WEIGHT: bold"&gt;Java Viewer with File Transfer&lt;/SPAN&gt; , as well as Auto scaling and&lt;STRONG&gt;&lt;FONT size=4&gt;&lt;U&gt; Server Side Scaling&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt;, Multiple-Monitors-support,Repeater/Proxy-support, Auto reconnection, good performances and tons of other functionalities."&lt;/P&gt;&lt;P&gt;2) Please see Screenshot of advanced viewer options dialogbox at &lt;A href="http://www.uvnc.com/install/viewerconfig.html"&gt;http://www.uvnc.com/install/viewerconfig.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the lower part of the screen you see "Server screen scale by 1/xxx". Here the nominator is always 1 and you can select a denominator. So I supposed this is exactly your scaleDen property.</description><pubDate>Tue, 17 Nov 2009 01:41:57 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2799.aspx</link><description>[quote]1) So what is the method GetScreenBitmapScaled for? I just returns a block 1 bit bitmap? Isn't this a bug?[/quote]&lt;BR&gt;I'll be able to answer to this question when I return back to Singapore from Microsoft PDC conference in LA later this week.&lt;/P&gt;&lt;P&gt;[quote]ULTAVNC does support server side scaling[/quote]. &lt;BR&gt;UltraVNC DOESN'T support server side scaling. None of xxxxVNCs support this feature.&lt;/P&gt;&lt;P&gt;[quote]Are the scaleEnable, scaleDen and scaleNum the properties which set server side scaling? In an ULTRAVNC client, they are quite similar (apart from scale numerator beeing always[/quote]&lt;BR&gt;Yep they have the same meaning as in UltraVNC. But they using these properties you will get a scaled &amp;#119;indow. So if you would want to resize the viewer window you would have to come up with appropriate ScaleNum/Den value.&lt;BR&gt;That's why it's better to use EnableScalling property and setup the stretching mode: Free or Aspect scaling.&lt;BR&gt;</description><pubDate>Mon, 16 Nov 2009 23:15:58 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2797.aspx</link><description>1) So what is the method GetScreenBitmapScaled for? I just returns a block 1 bit bitmap? Isn't this a bug?&lt;br&gt;&lt;br&gt;2) ULTAVNC does support server side scaling. Are the scaleEnable, scaleDen and scaleNum the properties which set server side scaling? In an ULTRAVNC client, they are quite similar (apart from scale numerator beeing always 1). What are the scale* properties for? Is it also client scaling? But this could also be done with strech mode.</description><pubDate>Mon, 16 Nov 2009 15:22:24 GMT</pubDate><dc:creator>carsten</dc:creator></item><item><title>RE: Thumbnails GetScreenBitmapScaled, scaleEnable</title><link>http://www.s-code.com/forum/FindPost2793.aspx</link><description>&lt;SPAN lang=EN-GB&gt;&lt;SPAN lang=EN-GB&gt;[quote]image, right? However when I ask for the ScreenBitmap, I still get the full resolution bitmap. Why?[/quote]&lt;BR&gt;ScreenBitmap returns bitmap without scalling by design. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[quote]The goal is to reduce the network traffic by transferring only server scaled bitmaps from the VNC servers to the client[/quote]&lt;BR&gt;I wish it was possible...Unfortunatelly VNC server doesn't support server-side scalling and there is nothing we can do about it.</description><pubDate>Sun, 15 Nov 2009 20:46:32 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item></channel></rss>