Solved

BitBlt And EMF File Size

Posted on 2004-04-14
3
326 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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