Read complex DWFX file fastert

I have a DWFX file that is very detailed and take long time to read.
All I need is number of pages and width/height of each page
can the aspose.cad be faster, 12 pages are read in about 10-15 minutes!

thanks

@yoniDekel
Unfortunately, files with a lot of entities could be time/memory consuming both for loading/export. Let us look whether it is possible to implement some partial reading of common information or we need to read the entire file for this.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CADNET-9129

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@yoniDekel,
could you please also attach the file you are referring to here, it is useful for us to debug the loading. Thank you.

The current file if not something I can share because of client personal data

You can take files from previous tickets I have opened in the past, they all work slow, but now it is very very slow so I have asked for the ability to get pages and width/height of pages only

image001.png (421 Bytes)

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
OK, got it, thanks.

Hi

Any updates regarding my issue?

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
Hi.
We are in progress with this file, investigating the reasons of slow processing and whether it could be improved.

Hi Alex,

Any update? Can we have a test for you somehow?

image001.png (421 Bytes)

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
Hello.
We hope to deliever performance improvements both for loading and export of DWFX in the next Aspose.CAD for .NET 23.6 release.

Will i be able to get paper size for all pages without the rendering that takes time?

When will it be out?

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
you need only to load image to see size of pages. The release is expected closer to the end of the month.

What do you mean by load images?

We need to load dwf or dwfx and be able to get width and height quickly

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
I mean that you still need to use Load to get size, as it was before:

using (DwfImage image = (DwfImage)Image.Load(filePath))
{
// access to image.Pages[0].UnitType, image.Pages[0].PaperWidth, image.Pages[0].PaperHeight
}

In the scope of 23.6 version the loading should be faster.

Ok. Waiting patiently

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

Do you want a test file?

image001.png (421 Bytes)

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
we test now on one of your previous test file but it would be interesting to evaluate new loading time on the heavier file, that loads >5 min on your side, for instance. It could be useful but not critical I guess.

I see latest version was updated 3 days ago, does that include a solution to my issue?

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

@yoniDekel,
yes, the loading of DWF/DWFX should be faster, please, test it on your side.

Just to update you, thanks for the last upgrade, it seems faster

image001.png (421 Bytes)

asset20_ce831691-7af1-4a28-8578-d1a350867362.png (2.46 KB)

whatsapp_logo_1-removebg-preview1_e8eb4d73-5f73-4224-89a9-ca4c8a1755de.png (15.9 KB)

1 Like

@yoniDekel,
thank you!