Problems with ImageFileType.EMF

Hello,

our company ist interested in Aspose.Pdf.
Therefore we downlaoded an evaluation-copy.

We need to insert EMF’s in our reports, so I tried this:


Dim myasppdf As New Aspose.Pdf.Pdf
myasppdf.PageSetup.PageHeight = Aspose.Pdf.PageSize.A4Height

Dim mysection As Aspose.Pdf.Section = myasppdf.Sections.Add()

Dim myimage As Aspose.Pdf.Image = New Aspose.Pdf.Image(mysection)
mysection.Paragraphs.Add(myimage)

myimage.ImageInfo.File = “myemf.emf”
myimage.ImageInfo.ImageFileType = Aspose.Pdf.ImageFileType.Emf
Dim mynote As Aspose.Pdf.GraphNote = New Aspose.Pdf.GraphNote(mysection)

myasppdf.Save(“myasposePDF.pdf”)



But the result is not too satisfying, the background of the image
is displayed as black and not as white as in original.
And it looks like bitmap not like vectorgraphic.

For your information:
There was the same problem, when I was testing Aspose.Word. But they solved this problem in the latest hotfix.

If you need further information, please fell free to ask for it.

Regards and thank you very much for your help in advance.

Mirjam Rupp
IngSoft GmbH - Ingenieurbüro und Softwareentwicklung

Dear Mirjam,

Thank you for considering Aspose.

Would you please send your image to me?

Dear Mirjam,

Thank you for considering Aspose.

I have to say sorry. Aspose.Pdf can’t support EMF image as vector graphics but have to convert it to bitmap. We will consider adding support for vector graphics 3 months later.

Dear Tommy,

thank you very much for your quick response.

It’s a pity, that the vector graphics will not be available in the next 3 months.
As we want to use Aspose.Word for editable reports and Aspose.PDF for non-
editable Reports within our current project.

Is there e.g. a beta with vector graphics feature available?

Thank you and best regards

Mirjam Rupp

Dear Mirjam,

Thank you for considering Aspose.

Let me see if it’s possible to support vector EMF in early July. How about WMF? WMF is easyer to be supported than EMF for me.

Hello Tommy,

thank you very much again for your quick response.

EMF would be best, but WMF would help us too.
Also early July would be great!

Best Regards,
Mirjam Rupp

Dear Tommy,

are there any news considering EMF support yet?

I was working on genertating WMF but this is not possible for us,
so we have to use EMF.

It would be great help, to know if there will be EMF support
during the weeks according of the deadline of our project.

Tank you very much in advance,
best regards
Mirjam

Dear Mirjam,

Thank you for considering Aspose.

I have to say sorry. I can support WMF this week, but I need much time to add support for EMF image and I have to do it later.

Dear Tommy,

thank you for your quick response.
So Aspose is planning to support EMF in future?
One possibility could be using BMP in a first step
and adding EMF functionality later.

But therefore I need to know +/- when I can
enrich my app and if it will be possible to support
EMF in future.
We are still evaluating different tools and we have
to make a decision.

I’m very grateful for your quick responses and
your helpfulness and I don’t want to be unpolite,
but it would be good to know this definetly.
So, is Aspose.PDF planning to support EMF?
(perhaps until mid august or so)

Thank you very much again,
best regards
Mirjam

Dear Mirjam,

Thank you for considering Aspose.

Aspose.Pdf will add new features when customer require them. So we will support EMF image. But this work is not easy and will cost me much time. So I can’t change my plan on other features and work for EMF now. I have to consider working for EMF 3 months later.

Dear Tommy,

thank you for your quick response.
I’m sorry I forgot that you told me it will take 3 months already in June.
So we’re looking forward to EMF support.

Best regards,
Mirjam