Hello,
I hope you can help me with the quality of the images generated with ASPOSE.
For example, if you visualize the purple lines in the following image generated with AUTOCAD. You can see that they are thick lines. AUTOCAD.png (198.5 KB)
On the other hand, when I generate an image of the same plan above, the lines come out thin (the image must be in grayscale): ASPOSE.jpg (199.5 KB)
I am using the following code to generate the images: image.png (40.0 KB)
I need the images generated with ASPOSE to respect the thickness of the lines defined in AUTOCAD.
I request you to please share the source CAD file along with generated output and used sample code. I will be able to investigate the issue further on my end on provision of requested information.
Thank you for sharing the information with us. A ticket with ID CADNET-8246 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
We have investigated the issue further on our end. In order to proceed further with investigation on our end, we need to know, how you have exported to image in AutoCad and which commands you have used or which buttons. There are different ways depending on the way you have generated this image is important.
We also need the Plot Style Table. There is “Hawa.ctb” plot style table used in this drawing, it is the separate custom file. If possible, we need it too.
Thank you for sharing the feedback. I have associated that in our issue tracking system and will share the feedback with you as soon as it will be shared.
I have a similar ploblem that the line becomes thicker when converted with Aspose CAD for .NET
Can you share the “8246.docx” file because I want to read that explanation and code example.?
Also,
I want to know how to set CTB files for Aspose CAD for .NET.
@morimori,
Hello.
This is the explanation about lineweight 8246.pdf (159.3 KB). But I’m not sure this explanation fits your problem. In this case please create new forum branch with the question.
In order to use CTB file please put it near your drawing file and it should be processed automatically.
The issues you have found earlier (filed as CADNET-8556) have been fixed in this Aspose.CAD for .NET 22.4 update . This message was posted using Bugs notification tool by Oleksii.Gorokhovatskyi
Example of usage:
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
string ctbFile = GetPath(“Hawa.ctb”);
rasterizationOptions.CtbSources = new Dictionary<string, Stream>();
rasterizationOptions.CtbSources.Add(“hawa.ctb”, File.OpenRead(ctbFile));