Solved

BitBlt And EMF File Size

Posted on 2004-04-14
3
313 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 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

23 Experts available now in Live!

Get 1:1 Help Now