Problems converting a psd


#21

@BooleServer,

Thanks for your patience.

The product team has started investigating earlier reported PDFNET-40901 but I am afraid due to some technical difficulties, the problem is not yet resolved. However as soon as we have some further updates regarding its resolution, we will let you know.

Please be patient and spare us little time.


#22

@BooleServer

Thanks for your patience.

We are pleased to share that the issue reported earlier as PDFNET-40901, is resolved by providing new option ScaleImagesToFitPageWidth in latest release of Aspose.Pdf for .NET 17.8. Please try following code snippet while using the latest release version and in case you experience any issue or you have any further query, please feel free to contact.

Document pdfDocument = new Document(@"c:\exportPDFaspose.pdf");

for (int pageCount = 1; pageCount <= pdfDocument.Pages.Count; pageCount++)
{
    string outputPngFile = @"c:\exportPDFaspose.png";
    using (FileStream imageStream = new FileStream(outputPngFile, FileMode.Create))
    {
           // Create Resolution object
           Resolution resolution = new Resolution(120);
           // Create PNG device with specified attributes
           PngDevice pngDevice = new PngDevice(resolution);
           pngDevice.RenderingOptions = new RenderingOptions() { ScaleImagesToFitPageWidth = true };
           // Convert a particular page and save the image to stream
           pngDevice.Process(pdfDocument.Pages[pageCount], imageStream);
    }
}

#23

Sorry we can’t get it: we tried with new release of Aspose.pdf and the snippet you provided but still the results are fare away from original.
We attach again a zip archive containing original psd file, printscreen the original file viewed with mac os preview and the strange resulting image and strange resulting pdf after aspose conversion: as you can see both conversion psd to pdf and then pdf to png Archive.zip (412.5 KB)
are wrong.
Moreover the snippet code you provided does not have any input stream (or maybe we have badly interpreted)

Again these are the code we use converting psd to pdf:

                    Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
                    OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
                    //OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
                    Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(m_iResolution), Convert.ToDouble(m_iResolution));
                    OptionsI.ResolutionSettings = oResI;
                    using (MemoryStream oMTempStream = new MemoryStream())
                    {
                        ((Aspose.Imaging.Image)m_oDocument).Save(oMTempStream, OptionsI);

                        Aspose.Pdf.Document oPdf = new Aspose.Pdf.Document();
                        Aspose.Pdf.Page oPage = oPdf.Pages.Add();

                        oPage.PageInfo.Width = m_OPageSize.Width;
                        oPage.PageInfo.Height = m_OPageSize.Height;
                        oPage.PageInfo.Margin.Bottom = 0;
                        oPage.PageInfo.Margin.Top = 0;
                        oPage.PageInfo.Margin.Left = 0;
                        oPage.PageInfo.Margin.Right = 0;

                        double dResizeFactor = 0;
                        double dXsize = 0;
                        double dYsize = 0;
                        dResizeFactor = (((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width > ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height) ? ((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width : ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height;
                        dXsize = ((Aspose.Imaging.Image)m_oDocument).Width / dResizeFactor;
                        dYsize = ((Aspose.Imaging.Image)m_oDocument).Height / dResizeFactor;

                        if (((Aspose.Imaging.Image)m_oDocument).Width > ((Aspose.Imaging.Image)m_oDocument).Height)
                        {
                            //doc.PageInfo.IsLandscape = true;
                            double iW = oPage.PageInfo.Width;
                            double iH = oPage.PageInfo.Height;
                            oPage.PageInfo.Width = iH;
                            oPage.PageInfo.Height = iW;

                            if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                            {
                                oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                            }
                            else
                            {
                                oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                            }
                        }
                        else
                        {
                            if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                            {
                                oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                            }
                            else
                            {
                                oPage.PageInfo.Width = ((Aspose.Imaging.Image)m_oDocument).Width;
                                oPage.PageInfo.Height = ((Aspose.Imaging.Image)m_oDocument).Height;

                                oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                            }
                        }

                        Aspose.Pdf.Image oImage = new Aspose.Pdf.Image();

                        oPage.Paragraphs.Add(oImage);
                        oImage.ImageStream = new MemoryStream(oMTempStream.ToArray());
                        oPdf.Save(_oOutputStream);

after use this code to convert psd to pdf we use to convert pdf to png: all other psd images we treat have no problem at all except for this one.

thanks a lot


#24

@BooleServer,

Thanks for sharing the details. We are again testing the scenario based on above details and will get back to you soon.


#25

@BooleServer

Thanks for your patience.

In the earlier investigation it was found that the issue was in PDF to PNG conversion and for that, new option ScaleImagesToFitPageWidth was added in 17.8 release of Aspose.Pdf for .NET.

In the earlier code snippet, PDF document was not being loaded from MemoryStream, but from path to the physical location of the file. You may please replace document loading in earlier shared code snippet, in order to load PDF document from memory stream (Same memory stream in which you are saving PDF document i.e oPdf.Save(_oOutputStream);). This way your complete code for the conversion would be like as follows:

Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
//OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(m_iResolution), Convert.ToDouble(m_iResolution));
OptionsI.ResolutionSettings = oResI;
using (MemoryStream oMTempStream = new MemoryStream())
{
 //////////////////////////////////////////
 // Stuff, you are performing
 //////////////////////////////////////////
 oPdf.Save(_oOutputStream);
 // start converting saved PDF into PNG
 Document pdfDocument = new Document(_oOutputStream);
 for (int pageCount = 1; pageCount <= pdfDocument.Pages.Count; pageCount++)
 {
    string outputPngFile = @"c:\exportPDFaspose.png";
    using (FileStream imageStream = new FileStream(outputPngFile, FileMode.Create))
    {
           // Create Resolution object
           Resolution resolution = new Resolution(120);
           // Create PNG device with specified attributes
           PngDevice pngDevice = new PngDevice(resolution);
           pngDevice.RenderingOptions = new RenderingOptions() { ScaleImagesToFitPageWidth = true };
           // Convert a particular page and save the image to stream
           pngDevice.Process(pdfDocument.Pages[pageCount], imageStream);
    }
 }
}

I have tried to convert your shared PDF into PNG with using ScaleImagesToFitPageWidth option and was unable to notice the white space on the right side of the resultant image. For your reference, I have also attached generated PNG image.

1_636409168962679854.jpg (72.5 KB)

Furthermore, in case if you still face any issue, please share the complete code snippet, as your earlier shared code has some undefined objects i.e m_oDocument, m_OPageSize, etc, so that we can test the complete scenario (PSD to PDF and PDF to PNG at run-time) in our environment and address it accordingly.


#26

Ok thanks now it’s clear: we add ScaleImagesToFitPageWidth options on our code that convert PDF to PNG so the conversion from PDF to PNG will be ok…

BUT we have still some other problems with the conversion FROM PSD TO PDF, because the resulting PDF is wrong, with levels and text layers it seems, in the case of the PSD we attached previously and moreover in other PSD files.
Attention: previous libraries of aspose.imaging did not have this problems (and our code is not changed).
See in attachment another psd with this problem (actually is a crop because the entire file is about 80 Mb), and some screenshot with actual and previous aspose.imaging dll result png (screenshot of the resultant pdf), moreover keep in mind the previous PSD file already attached (Imgtest2000x300.psd)

Archive.zip (3.0 MB)


#27

@BooleServer,

I have observed your comments. Can you please share complete working sample project to reproduce issue. Also please share which previous version was working fine for this conversion so that we may further investigate to help you out.


#28

the whole code is some rows over (we’ll give again below).
The code is the same but used with Aspose.Imaging 3.9.0.0 gives a correct PDF while with version 17.7 is wrong.

                    m_oDocument = Aspose.Imaging.Image.Load(_oInputStream);
                    m_iPageCount = 1;
               Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
                OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
                //OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
                Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(120), Convert.ToDouble(120));
                OptionsI.ResolutionSettings = oResI;
                using (MemoryStream oMTempStream = new MemoryStream())
                {
                    ((Aspose.Imaging.Image)m_oDocument).Save(oMTempStream, OptionsI);

                    Aspose.Pdf.Document oPdf = new Aspose.Pdf.Document();
                    Aspose.Pdf.Page oPage = oPdf.Pages.Add();

                    oPage.PageInfo.Width = m_OPageSize.Width;
                    oPage.PageInfo.Height = m_OPageSize.Height;
                    oPage.PageInfo.Margin.Bottom = 0;
                    oPage.PageInfo.Margin.Top = 0;
                    oPage.PageInfo.Margin.Left = 0;
                    oPage.PageInfo.Margin.Right = 0;

                    double dResizeFactor = 0;
                    double dXsize = 0;
                    double dYsize = 0;
                    dResizeFactor = (((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width > ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height) ? ((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width : ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height;
                    dXsize = ((Aspose.Imaging.Image)m_oDocument).Width / dResizeFactor;
                    dYsize = ((Aspose.Imaging.Image)m_oDocument).Height / dResizeFactor;

                    if (((Aspose.Imaging.Image)m_oDocument).Width > ((Aspose.Imaging.Image)m_oDocument).Height)
                    {
                        //doc.PageInfo.IsLandscape = true;
                        double iW = oPage.PageInfo.Width;
                        double iH = oPage.PageInfo.Height;
                        oPage.PageInfo.Width = iH;
                        oPage.PageInfo.Height = iW;

                        if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                        {
                            oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                            oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                        }
                        else
                        {
                            oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                            oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                        }
                    }
                    else
                    {
                        if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                        {
                            oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                            oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                        }
                        else
                        {
                            oPage.PageInfo.Width = ((Aspose.Imaging.Image)m_oDocument).Width;
                            oPage.PageInfo.Height = ((Aspose.Imaging.Image)m_oDocument).Height;

                            oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                            oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                        }
                    }

                    Aspose.Pdf.Image oImage = new Aspose.Pdf.Image();

                    oPage.Paragraphs.Add(oImage);
                    oImage.ImageStream = new MemoryStream(oMTempStream.ToArray());
                    oPdf.Save(_oOutputStream);

#29

@BooleServer,

I have verified the shared PSD file using following part of sample code shared by you and have generated PNG images. The PNG image generated using Aspose.Imaging 17.7 has issue but there is no issue when using Aspose.Imaging 3.9.0. An issue with ID IMAGINGNET-2520 has been added as regression to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

    public static void TestPSDImageExport()
    {
        String path = @"C:\Imaging Data\Archive\";

        ///             var m_oDocument = Aspose.Imaging.Image.Load(_oInputStream);
        var m_oDocument = Aspose.Imaging.Image.Load(path + "presentazione generale ritaglioLight.psd");
        int m_iPageCount = 1;
        Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
        OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
        //OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
        Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(120), Convert.ToDouble(120));
        OptionsI.ResolutionSettings = oResI;

        ((Aspose.Imaging.Image)m_oDocument).Save(path + "saved.png", OptionsI);
    }

saved_3.9.0.png (193.6 KB)
saved_17.7.png (70.9 KB)


#30

Please add another issue we notice:
using thi code:
Aspose.Pdf.Devices.Resolution ResolutionP = new Aspose.Pdf.Devices.Resolution(m_iResolution);
Aspose.Pdf.Devices.PngDevice PngDeviceP = new Aspose.Pdf.Devices.PngDevice(ResolutionP);
PngDeviceP.RenderingOptions = new Aspose.Pdf.RenderingOptions() { ScaleImagesToFitPageWidth = true };
PngDeviceP.Process(((Aspose.Pdf.Document)m_oDocument).Pages[++_iPageIndex], _oOutputStream);

we have a stretch problem on the resultant image using aspose.pdf 17.8 BUT the same code with aspose.pdf 12.0 has no problem at all (we a sample pdf file and a screenshot with the two images as result) Archive.zip (496.6 KB)

We think the problem is in the new row Aspose.Pdf.RenderingOptions() { ScaleImagesToFitPageWidth = true };
cause we didn’t use with old 12.0 dll…

Please these are very urgent issues for our customers.


#31

@BooleServer,

Thanks for sharing the details.

I have tested the scenario of PDF to PNG conversion using latest release of Aspose.Pdf for .NET 17.10 and I am unable to notice any issue. As per my observations, the contents are properly rendered in resultant file. For your reference, I have also attached the output generated over my end. COMUNICAZIONE DI BENVENUTO1_Converted.jpg (745.9 KB).


#32

Dear all, just a little resume:

PDFNET-40901 resolved an issue with some PSD files converted into PDF and then PDF into PNG

BUT this PDFNET-40901 and/or the new 17.x libraries (it’s not our job to estabilish) introduces a new BUG, signed as IMAGINGNET-2520 and now the resulting pdf/png created from psd are of very poor quality and wrong text layers

MOREOVER the introduction of the option
_PngDeviceP.RenderingOptions = new Aspose.Pdf.RenderingOptions() { ScaleImagesToFitPageWidth = true };

causes a wrong resize in all PDF documents converted into images.

Now i attach (again for third time) our code and all the sample files (again for third time) we reproduce with resulting images with and without that option you introduce

Please, we expect some news in a short time
Thanks a lot

code for converting pdf to images (note that new option for now is commented)
Aspose.Pdf.Devices.Resolution ResolutionP = new Aspose.Pdf.Devices.Resolution(m_iResolution);
Aspose.Pdf.Devices.PngDevice PngDeviceP = new Aspose.Pdf.Devices.PngDevice(ResolutionP);
//PngDeviceP.RenderingOptions = new Aspose.Pdf.RenderingOptions() { ScaleImagesToFitPageWidth = true };
PngDeviceP.Process(((Aspose.Pdf.Document)m_oDocument).Pages[++_iPageIndex], _oOutputStream)

code for psd to pdf conversion

                        Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
                        OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
                        //OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
                        Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(m_iResolution), Convert.ToDouble(m_iResolution));
                        OptionsI.ResolutionSettings = oResI;
                        using (MemoryStream oMTempStream = new MemoryStream())
                        {
                            ((Aspose.Imaging.Image)m_oDocument).Save(oMTempStream, OptionsI);
                            Aspose.Pdf.Document oPdf = new Aspose.Pdf.Document();
                            Aspose.Pdf.Page oPage = oPdf.Pages.Add();
                            oPage.PageInfo.Width = m_OPageSize.Width;
                            oPage.PageInfo.Height = m_OPageSize.Height;
                            oPage.PageInfo.Margin.Bottom = 0;
                            oPage.PageInfo.Margin.Top = 0;
                            oPage.PageInfo.Margin.Left = 0;
                            oPage.PageInfo.Margin.Right = 0;
                            double dResizeFactor = 0;
                            double dXsize = 0;
                            double dYsize = 0;
                            dResizeFactor = (((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width > ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height) ? ((Aspose.Imaging.Image)m_oDocument).Width / m_OPageSize.Width : ((Aspose.Imaging.Image)m_oDocument).Height / m_OPageSize.Height;
                            dXsize = ((Aspose.Imaging.Image)m_oDocument).Width / dResizeFactor;
                            dYsize = ((Aspose.Imaging.Image)m_oDocument).Height / dResizeFactor;
                            if (((Aspose.Imaging.Image)m_oDocument).Width > ((Aspose.Imaging.Image)m_oDocument).Height)
                            {
                                //doc.PageInfo.IsLandscape = true;
                                double iW = oPage.PageInfo.Width;
                                double iH = oPage.PageInfo.Height;
                                oPage.PageInfo.Width = iH;
                                oPage.PageInfo.Height = iW;
                                if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                                {
                                    oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                    oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                }
                                else
                                {
                                    oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                    oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                }
                            }
                            else
                            {
                                if ((((Aspose.Imaging.Image)m_oDocument).Width > oPage.PageInfo.Width) && (((Aspose.Imaging.Image)m_oDocument).Height > oPage.PageInfo.Height))
                                {
                                    oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                    oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, dXsize, dYsize);
                                }
                                else
                                {
                                    oPage.PageInfo.Width = ((Aspose.Imaging.Image)m_oDocument).Width;
                                    oPage.PageInfo.Height = ((Aspose.Imaging.Image)m_oDocument).Height;
                                    oPage.MediaBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                    oPage.CropBox = new Aspose.Pdf.Rectangle(0, 0, ((Aspose.Imaging.Image)m_oDocument).Width, ((Aspose.Imaging.Image)m_oDocument).Height);
                                }
                            }
                            Aspose.Pdf.Image oImage = new Aspose.Pdf.Image();
                            oPage.Paragraphs.Add(oImage);
                            oImage.ImageStream = new MemoryStream(oMTempStream.ToArray());
                            oPdf.Save(_oOutputStream);
                        } //using

attached files

Imgtest2000x300.psd (original file psd)
Imgtest2000x300.pdf (pdf conversion from psd)
Imgtest2000x300 no new opt.png (wrong conversion)
Imgtest2000x300 with new opt.png (correct conversion without blanck extra space due to the new ScaleImagesToFitPageWidth OPTION)

PLEASE NOTICE THERE IS NO EXACT CORRESPONDENCE OF GRAPHICS BETWEEN ORIGINAL PSD AND RESULTANT PDF/PNG FILES

2016.03.01_PriceList_ITA.pdf (original pdf)
2016.03.01_PriceList_ITA with new opt.png (wrong converted WITH NEW ScaleImagesToFitPageWidth OPTION)
2016.03.01_PriceList_ITA no opt.png (correct converted without new option)
Archive.zip (1.5 MB)


#33

@BooleServer,

Thanks for sharing the details.

We are working on testing the scenario based on above description and will get back to you soon. We are really sorry for this inconvenience.


#34

@BooleServer,

Thanks for your patience.

I have tested the scenario and have managed to reproduce the same issue. For the sake of correction, I have separately logged it as PDFNET-43541 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.


#35

please share us some news about theese problems and a bugfix release date
thanks


#36

@BooleServer,

Thanks for your patience. As we recently have noticed this problem, so it is pending for review and not yet resolved. Please note that issues are resolved in first come first serve basis, so team is currently busy resolving other previously reported issues. However, as soon as we have some further updates, we will let you know.


#37

Please share us some news about IMAGINGNET-2520 and PDFNET-43541
We didn’t receive any notice from October 2017!


#38

@BooleServer,

Currently both of the issues are pending for analysis and are in the query amount with other issues. We have requested our product team to share updates in this regard. We will update you as soon as any update is available.


#39

Again we did not receive any new since october 2017: how is it possible?


#40

@BooleServer,

We are working on these issues. Regarding IMAGINGNET-2520, please test the following code snippet at your end with the latest version of Aspose.Imaging i.e. 18.4 and update us with your feedback.

CODE:

String path = @"c:\image_data\Archive\";
var m_oDocument = Aspose.Imaging.Image.Load(
            path + "presentazione generale ritaglioLight.psd",
            new PsdLoadOptions() { ReadOnlyMode = true });
int m_iPageCount = 1;
Aspose.Imaging.ImageOptions.PngOptions OptionsI = new Aspose.Imaging.ImageOptions.PngOptions();
OptionsI.ColorType = Aspose.Imaging.FileFormats.Png.PngColorType.TruecolorWithAlpha;
//OptionsI.TransparentColor = new Aspose.Imaging.TransparentColorSetting(Aspose.Imaging.Color.Transparent);
Aspose.Imaging.ResolutionSetting oResI = new Aspose.Imaging.ResolutionSetting(Convert.ToDouble(120), Convert.ToDouble(120));
OptionsI.ResolutionSettings = oResI;
((Aspose.Imaging.Image)m_oDocument).Save(path + "saved2.png", OptionsI);