Solved

BitBlt And EMF File Size

Posted on 2004-04-14
3
314 Views
Last Modified: 2013-11-20
HI

I want to save GDI graphics(canvas drawing) into Enhanced meta file(EMF). I am following MSDN guide to create meta files.

In my application there are couple of bitblt routines , this means when i draw same thing into EMF file this bitblt comman stores whole bitmap as part of EMF file instead of just as metafile records. In result the file size get large like around 10 - 30 MB. And if i compress this file with some file compressor the resulting file is just 100 -200 KB.  this means  this bitblt is taking toomuch space in EMF file.

Is there any way to get rid of this problem.?

Zaheer
0
Comment
Question by:zabbas
3 Comments
 
LVL 4

Accepted Solution

by:
caner_elci earned 250 total points
ID: 10825059
You know what you draw on a DC is raster graphics and EMF is for vector graphics? Of course you can store raster data in a EMF but it's not for this kind of usage...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 124
NotAlone Challenge 20 80
Line meaning 9 82
Excel file not created as expected 7 50
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now