Print Page | Close Window

JPG in XAML

Printed From: Codejock Forums
Category: General
Forum Name: XAML Snippets
Forum Description: Post your XAML snippets here for everyone to enjoy :)
URL: http://forum.codejock.com/forum_posts.asp?TID=12199
Printed Date: 01 May 2024 at 10:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: JPG in XAML
Posted By: BerntK
Subject: JPG in XAML
Date Posted: 18 September 2008 at 5:01pm
Will JPG images be implemented in 12.1.0?
If not :-(, is it planned for later versions?

Bernt



Replies:
Posted By: Oleg
Date Posted: 19 September 2008 at 2:12am
Thanks, will be implemented for 12.1 release.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: BerntK
Date Posted: 19 September 2008 at 3:12am
Hi,

Thanks - sounds great!
Any estimated release date?

Bernt


Posted By: BerntK
Date Posted: 19 November 2008 at 3:50pm
Sorry, I can't  find the implementation in 12.1.0!

How to display JPGs this XAML?

Bernt


Posted By: Oleg
Date Posted: 20 November 2008 at 2:02am
Hello,
 
What you try ? just load jpg instead of bmp.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: BerntK
Date Posted: 20 November 2008 at 2:45am
Hi Oleg,

I just replaced Source="file://Blue Lace 16.bmp" with Source="file://sample.jpg" in the sample markup file Image.xaml for viewing by MarkupPad.exe.

Am I doing wrong?

Bernt


Posted By: BerntK
Date Posted: 20 November 2008 at 3:47am
OK now!

You have to include the full path; JPG and GIF do not default to the directory of the xaml file...

Good thing:
As you use OleLoadPicturePath to load the picture you can also display an URL instead a file like:

<Image  Source="file://http://www.xyz.com/images/logo.gif" />


Bernt



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net