bitmap

I want to include the bitmap(*.bmp) file in XPS.
However, there is no corresponding Type in ContentType.
Is it impossible?

[138 byte] By [Mippy2] at [2007-12-22]
# 1

Correct, you cannot include .bmp files in XPS Documents. PNG, JPEG, TIFF, and Windows Media Photo files are supported. I'd recommend converting your .bmp file to a .png file.

-Jesse McGatha
XPS Program Manager

JesseMcGatha at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 2

Hi,

Can any tell me how to add jpg,tiff , png images to an XPS document.

Thanks in advance for the earliest reply.

Santhosh.

SanthoshGV at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 3

If you are looking for the logic on adding the image to the package.

The example can be found in the 5384 WDK samples for adding raster water mark.

regards,

Karthikeyan.

KarthikeyanMahadevan at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 4

Hi Karthikeyan,

Thank you very much for the informations. Can you please share the link from where i can get the 5384 WDK Samples and check.

Thanks & Regards,

Santhosh.

SanthoshGV at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 5

It is available on the Beta2 WDK release DVD.

I think it can be obtained from https://connect.microsoft.com. Reference http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=523464&SiteID=1

regards,

Karthikeyan.

KarthikeyanMahadevan at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...

Software Development for Windows Vista

Site Classified