I'm not sure how your suggestion applies. I'm taking image files straight out of Photoshop that already have ICC profiles imbedded in them, getting a BitmapFrame from them (through static member, BitmapFrame.Create()) and actually displaying the image though a statement like the following:
image.Source = BitmapFrame;
where "image" is an instance of the Image class and is imbedded in a Grid.
I have told my camera to use the Adobe RGB profile and Photoshop finds that profile in the TIFF files that I save. Then in a separate step, I tell Photoshop to convert the profile to sRGB, and save the result as a JPEG. Re-reading the files into Photoshop shows that the TIFF files do indeed have Adobe RGB and the JPEG files do indeed have sRGB, and they look virtually the same in Photoshop. But when I use the above technique for reading and displaying the TIFF and RGB files in my application, the TIFF files lose saturation, a typical result from ignoring the imbedded profile and applying sRGB by default, as many WEB applications do.
I'm just starting out using WPF and I'm wanting to make a small application to help our sales staff for the end of day paperwork.
What I want to do it have a GUI that the users will type information into and then run some automatic calculations which I'm pretty sure I can do. But when the information in all entered and correct I want them to click SAVE and this will output all the information that they enetered into a sheet and store in a container of some sort.
For example, it's the the of day, I enter in all the days sales etc, calculations have run I click on save, the stuff just entered I want exported and automatically save to a PDF, or HTML file or something.
What would I need to look into so when I click the save button the action is done?
The most obvious way to do this is to make a class that contains all of the data on a form, and use serialisation to store it. Or you can write your own code to store in XML. To get a PDF, you need to buy a library. You can write HTML if you want to. I'd write XML and write an XSLT to show it as HTML.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Last Visit: 31-Dec-99 18:00 Last Update: 20-Dec-13 8:31