Discussion:
DXF, DWG, SolidWorks Files
Eric Landmann
2006-07-07 20:41:54 UTC
Permalink
Hi all:

I know that currently ImageMagick does not support AutoCAD DXF and DWG, and SolidWorks files. I have a need to convert create thumbnails of these and pull out some metadata. Are there any plans to add these formats in the future?

Alternatively, can anybody suggest a utility that would manipulate these files?

Thanks much,

--Eric
k***@imagemagick.org
2006-07-07 22:34:10 UTC
Permalink
Are there any plans to add these formats in the future? (DXF, DWG)
Nope.
Anthony Thyssen
2006-07-10 02:01:33 UTC
Permalink
Eric Landmann on wrote...
| Hi all:
|
| I know that currently ImageMagick does not support AutoCAD DXF and
| DWG, and SolidWorks files. I have a need to convert create thumbnails
| of these and pull out some metadata. Are there any plans to add these
| formats in the future?
|
| Alternatively, can anybody suggest a utility that would manipulate
| these files?
|

Their are converters for these formats, but as these are vector formats
they are not generally looked after by ImageMagick.

For more info see
A word about Vector Image formats
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/formats/#vector

Specifically look into
VectorSection
http://scratchcomputing.com/projects/vectorsection/


Anthony Thyssen ( System Programmer ) <***@griffith.edu.au>
-----------------------------------------------------------------------------
You said the learning curve was steep, but neglected to mention the
roller coaster ride in the middle! -- Anni <***@ozemail.com.au>
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
Scott Spearman
2006-07-10 12:20:58 UTC
Permalink
The way I've found success in working with AutoCAD files is to set up a
dummy PS printer that prints to a file, and then print the sections of
interest, then use ImageMagick or another tool to operate on the postscript
file. It may not be the most intuitive, but the results look pretty good.

Then again, they're not a primary part of my workflow, and usually just come
up when we need to send stuff to lawyers.

----- Original Message -----
From: "Anthony Thyssen" <***@griffith.edu.au>
To: "ImageMagick User List" <magick-***@imagemagick.org>
Sent: Sunday, July 09, 2006 10:01 PM
Subject: Re: [magick-users] DXF, DWG, SolidWorks Files
Post by Anthony Thyssen
Eric Landmann on wrote...
|
| I know that currently ImageMagick does not support AutoCAD DXF and
| DWG, and SolidWorks files. I have a need to convert create thumbnails
| of these and pull out some metadata. Are there any plans to add these
| formats in the future?
|
| Alternatively, can anybody suggest a utility that would manipulate
| these files?
|
Their are converters for these formats, but as these are vector formats
they are not generally looked after by ImageMagick.
For more info see
A word about Vector Image formats
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/formats/#vector
Specifically look into
VectorSection
http://scratchcomputing.com/projects/vectorsection/
-----------------------------------------------------------------------------
You said the learning curve was steep, but neglected to mention the
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
http://studio.imagemagick.org/mailman/listinfo/magick-users
Dave Drinkle
2006-07-10 20:11:42 UTC
Permalink
Hi,
I'm trying to create a image by compositing two images together using
PerlMagick. The top image I want to be semi-transparent, so the image in
the back is visible through it. I am completely lost as to how to do it.
I've tried a few things, but nothing works.. I'm sure I'm making it more
difficult than it should be.

Any help would be greatly appreciated.

Here's an example of what I've tried...


my $image1 = Image::Magick->new();
my $image2 = Image::Magick->new();
$image1->Read($ARGV[0]);
$image2->Read($ARGV[1]);
$image1->Composite(image=> $image2, compose => "blend",opacity => 25);

$image->Write("newimage.png");


Dave
Shaun
2006-07-10 18:35:34 UTC
Permalink
Autocad has a built in postscript printer which can be used to raw data that
Imagemagick(ghostscript) can convert, I have tested this for DWG and DXF
files which works fine. You can use the Autocad API to automate the ps
creation process' have a look at http://www.afralisp.net/ for all sorts of
goodies.

Regards

Shaun Parsons

E-Mail ***@Tesco.Net
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 07/07/2006
Eric Landmann
2006-07-15 23:54:34 UTC
Permalink
Post by Shaun
Autocad has a built in postscript printer which can be used to raw data that
Imagemagick(ghostscript) can convert, I have tested this for DWG and DXF
files which works fine. You can use the Autocad API to automate the ps
creation process' have a look at http://www.afralisp.net/ for all sorts of
goodies.
Regards
Shaun Parsons
I am not trying to achieve a vector-to-vector conversion, but "only" to generate thumbnails. With this in mind, I think it seems most likely that a PostScript file generated from the drawing would do nicely. I am sure there are some challenges ahead.

Thanks to everybody for your suggestions, and especially the programmers who have given us this wonderful tool.

--Eric

Continue reading on narkive:
Loading...