.SaveAsEMF vs Save(ImageFormat.Emf)

Last post 05-11-2012, 12:54 AM by babar.raza. 16 replies.
Page 1 of 2 (17 items)   1 2 Next >
Sort Posts: Previous Next
  •  11-10-2011, 6:51 AM 341328

    .SaveAsEMF vs Save(ImageFormat.Emf)

    I see that the BarCode-toolkit now save real EMF-files, but the artwork-dimensions does not seem to be correct.

    If I save the QR-barcode using

    .Save("c:\temp\test.emf",ImageFormat.EMF)

    the resulting file (png I know), will have dimensions 574x574

    If I save the same barcode

    using

    .SaveAsEMF("c:\temp\test2.emf")

    the resulting file (real emf-file), will have the dimensions 1626x1629, where the actual QR-code is placed in the top left corner of the image with real dimensions 431x431. In other words, there is a lot of space around the QR!

     

    Another question is that I'm missing the SaveAsEMF that save to a stream and not just to file.

     

    Filed under: QR SaveAsEMF EMF
     
  •  11-14-2011, 4:59 AM 341952 in reply to 341328

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    Thank you for inquiry.

    .SaveAsEMF() method will save the image in real EMF format (vector graphics). I have also seen the extra space when I generate a QR barcode using this method. I have also logged this issue (ID: 31903), we will look into it and will inform you when it gets fixed.

    .Save("a.emf, ImageFormat.emf) actually saves to default PNG format (raster graphics), so please use SaveAsEMF() method to get the pure vector graphics image.

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  11-21-2011, 3:59 AM 343616 in reply to 341952

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    What about saving emf to a stream and not just a file?

     
  •  12-20-2011, 1:19 PM 350597 in reply to 343616

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    No progress yet?
     
  •  12-21-2011, 12:45 AM 350712 in reply to 350597

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    I am afraid, I do not have any updates regarding this issue. Although I have requested for the ETA and as soon as I receive any updates, I will post here for your reference.

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  12-30-2011, 6:05 AM 352315 in reply to 341328

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    The issues you have found earlier (filed as 31903;33020) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
  •  12-30-2011, 6:09 AM 352323 in reply to 352315

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    You can now save the EMF file to stream. Please check the below source code for your reference,

    C#
    var stream = new MemoryStream(); builder.SaveAsEmf(stream);

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  12-30-2011, 6:50 AM 352325 in reply to 352315

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    Attachment: Present (inaccessible)

    Does not appear to be working as intended ? (unless having a valid license changes the way it is working).

    I've generated the same content into a PNG-file and an EMF-file. The size is not the same for these two files (attached).

    I'm also noticing that I'm unable to open the .emf-file in Adobe Illustrator (which actually was working previously).

     
  •  01-02-2012, 6:35 AM 352454 in reply to 352325

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    Thank you for your patience and your feedback. 

    I have noticed the the extra space around the image is reduced but the barcode label itself isn't centred. That is why when you hide the captions the barcode label seems to be cropped from upper-left side. I have re-opened the associated ticket by attaching your feedback with it. 

    We will look into this matter very soon. 

    Regards, 

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  01-16-2012, 9:17 AM 355468 in reply to 352454

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    Any progress???
     
  •  01-16-2012, 9:49 AM 355479 in reply to 355468

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    I am afraid, I do not have any updates regarding the issue of extra space around the EMF image. I have requested for the ETA and as soon as I receive any updates, I will post here for your reference

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  02-08-2012, 4:21 PM 360208 in reply to 355479

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    Still not got a fix for this?
     
  •  02-10-2012, 1:16 AM 360562 in reply to 360208

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi, 

    We are really sorry for this delay. 

    I just got to know that the issue hasn't been fixed yet, otherwise we would have provided you a hotfix version. I am in direct contact with the development team to include this fix in the upcoming release of Aspose.BarCode for .NET, that is scheduled for the following week.

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  03-27-2012, 4:08 PM 371306 in reply to 360562

    Re: .SaveAsEMF vs Save(ImageFormat.Emf)

    4+ months and still not fixed???
     
  •  03-28-2012, 2:35 AM 371379 in reply to 371306

    Re: .SaveAsEMF vs Save(ImageFormat.Emf) .NET

    Hi,

    We are sorry for your inconvenience and the delay.

    I have checked the status of the ticket (BARCODENET-31903) and I can see that the development team has scheduled the fix for the upcoming release of Aspose.BarCode for .NET v4.7.0. The said release will be published in first half of the following month (April). 

    We will notify you once the issue is resolved and the fix is available for public use.

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
Page 1 of 2 (17 items)   1 2 Next >
View as RSS news feed in XML