This project is read-only.

Can't get ImageTools.Utils.dll to show up...

Jul 8, 2010 at 5:01 PM
Edited Jul 8, 2010 at 5:08 PM

I see references to ImageTools.Util on the site, but the DLL is actually named ImageTools.Utils.dll (with an 's').

I figured that was no big deal, and I added the reference to it, but it does not appear in IntelliSense when I am editing the code-behind.  I can import all the other libraries, just not the Util library for some reason...

I am using Silverlight 4 and Expression Blend 4.

I have tried every way I can find on the net to render my canvas as an image, to no avail...  I am too new to .NET and Blend to be able to take vague directions and make it work, although I have most of my application complete except this feature.

The only error I have left is that Type "stream" is not defined.

Any ideas?

Jul 8, 2010 at 5:06 PM
The Utils library does not contain any classes, only extension
methods, so you will not see any additional classes I think.
Jul 8, 2010 at 5:11 PM

Thank you very much.

Any idea why the "stream" type is not defined?

I have used the following lines in my code...

Imports ImageTools
Imports ImageTools.IO.Bmp
Imports ImageTools.IO.Jpeg
Imports ImageTools.IO.Png

... and the line which fails is the "Using" line in this block...

        If sfd.ShowDialog() = True Then
            Using stream As Stream = sfd.OpenFile()
                myImage.WriteToStream(stream, sfd.SafeFileName)
            End Using
        End If

Jul 8, 2010 at 5:20 PM
No, sorry. Too less code.

I dont have time at the moment, but when you want you can contact me at
saturday by msn:
Jul 8, 2010 at 5:32 PM

I got past that error by using an Imports System.IO, but the Save File Dialog never appears, so I'll have to troubleshoot that...

Jul 8, 2010 at 6:05 PM
Edited Jul 8, 2010 at 6:06 PM

Got it working finally, but only by shifting code bits around, nothing material changed, but it works.

Expression Blend is a little "funny" still, I think it's time for a service pack.  The graphics don't update all the time, and it loses track of references, I still can't get rid of FluxCore JPEG, even though it doesn't appear in the list of references :)