Login
 

Search forums: 

DotImage Discussions Comments and questions concerning our .NET imaging suite Atalasoft DotImage.
.NET Imaging Discussions > DotImage Discussions > Silverlight Viewer View modes: 
User avatar
Member
Member
bhoaglund - 12/9/2011 4:26:32 PM
   
Silverlight Viewer
We have a SilverlightImageViewer control that we're using to view images returned by a web service as a byte array. This works fine with all of the images we've tested except for certain color images. The tif files that are giving us trouble have been reduced in the web service using a ResampleCommand but the color jpg files that are failing are only 300 KB or so. I added the exception event handler for the image viewer and these images are returning "OnGetResponse Error" as the message. I'm not sure how to fix this.

User avatar
Atalasoft Employee
Atalasoft Employee
adaniell - 12/14/2011 2:39:25 PM
   
RE:Silverlight Viewer
Hello,

Can you attach one of the problematic images to this thread?  I would like to determine if it is an issue specific to these images.  Do you get any other information from the exception?

User avatar
Member
Member
bhoaglund - 12/16/2011 3:30:00 PM
   
RE:Silverlight Viewer
Sorry, turns out this was actually a problem with the streaming of the image and not the image itself. Although not necessarily large in dimension, these images were too large in size to be completely trasfered via web service. I added this tag to the hosting web application's web.config to resolve it.

<httpRuntime maxRequestLength="102400" />

Thanks for trying to help.


User avatar
Member
Member
bhoaglund - 3/27/2012 11:03:53 AM
   
RE:Silverlight Viewer
Well, actually, this worked for version 9 but when I updated the application to version 10 I received the same message. This happens for all images regardless of size.

User avatar
Atalasoft Employee
Atalasoft Employee
adaniell - 3/29/2012 4:43:02 PM
   
RE:Silverlight Viewer
Hello,

Please include the new exception message and a stack trace.

User avatar
Member
Member
bhoaglund - 3/29/2012 7:02:03 PM
   
RE:Silverlight Viewer
Okay... once again I've proven myself wrong. I switched that application to use vesrion 10 from 9 again and now I'm not getting the errors that I was previously. However, the images look much more faded in the viewer when I'm using 9 than when I'm using 10. I'm not sure if these's a property I can set. I've played around with AntialiasDisplay but itr doesn't seem to have much of an effect. Here's my display tag.

<my:SilverlightImageViewer LicenseUri="/Atalasoft.dotImage.lic" x:Name="PageViewer" ImageBorderThickness="1"

PageLayout="SinglePage" Width="1100" Height="600" AutoZoom="None" Cursor="Hand" UseLayoutRounding="True" />


User avatar
Atalasoft Employee
Atalasoft Employee
adaniell - 5/7/2012 10:41:43 AM
   
RE:Silverlight Viewer
Hello,

Apologies for the delay in response.

Are you still facing this issue?  I haven't noticed a difference when switching a project from version 9 to 10.  Is this the case for any file you try?  If it is specific to a paricular file or file type, please let me know and I will provide instruction on how to provide us with a copy.

1
preload preload preload