Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

BitBlt And EMF File Size

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 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