Author Topic: Is there any way that I can export the image other than jpgout command?  (Read 475 times)

0 Members and 1 Guest are viewing this topic.

JohnSnow

  • Mosquito
  • Posts: 7
Like I can select some items and then export them as an image?
Thanks in advance.

tombu

  • Newt
  • Posts: 87
  • ByLayer=>Not0
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

JohnSnow

  • Mosquito
  • Posts: 7
Re: Is there any way that I can export the image other than jpgout command?
« Reply #2 on: August 28, 2017, 02:53:02 am »
Try exporting them as a WMF file: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-5D951920-615C-4AEA-B430-B4CC281B3D29-htm.html

Thanks for the input.
I find images created in this way are of poor quality tho, just like jpgout command or other methods like plot (to .jpg or .bmp).. There is a software called betterwmf, whereby we can export images that look really good. But I would like to add this method in my routine instead of using this software. I am wondering how can we do that...

dgorsman

  • Water Moccasin
  • Posts: 2216
Re: Is there any way that I can export the image other than jpgout command?
« Reply #3 on: August 28, 2017, 10:27:00 am »
What are you trying to export an image of?  Linework drawing?  Rendered image?  Or...?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

JohnSnow

  • Mosquito
  • Posts: 7
Re: Is there any way that I can export the image other than jpgout command?
« Reply #4 on: August 29, 2017, 05:31:59 am »
Thanks for your reply.
Linework. I want it to work like betterwmf...

Master_Shake

  • Swamp Rat
  • Posts: 1242
Re: Is there any way that I can export the image other than jpgout command?
« Reply #5 on: August 29, 2017, 08:16:57 am »
What is your end goal with the image file?

mjfarrell

  • Seagull
  • Posts: 13978
  • Every Student their own Lesson
Re: Is there any way that I can export the image other than jpgout command?
« Reply #6 on: August 29, 2017, 08:50:20 am »
if its linework, suggest DXF import into GIMP

for Photoshop you would need to export to EPS file first and them import that into PS.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Master_Shake

  • Swamp Rat
  • Posts: 1242
Re: Is there any way that I can export the image other than jpgout command?
« Reply #7 on: August 29, 2017, 08:54:11 am »
Depending on the end result desired, I was going to suggest outputting to PDF and then converting it to JPEG or EPS through Adobe.

VovKa

  • Swamp Rat
  • Posts: 819
  • Ukraine
Re: Is there any way that I can export the image other than jpgout command?
« Reply #8 on: August 29, 2017, 12:12:46 pm »
i usually plot to PNG format
it it quite good for linework

dgorsman

  • Water Moccasin
  • Posts: 2216
Re: Is there any way that I can export the image other than jpgout command?
« Reply #9 on: August 29, 2017, 03:43:33 pm »
i usually plot to PNG format
it it quite good for linework

Yeah - JPG is one of the worst choices of format for that.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

JohnSnow

  • Mosquito
  • Posts: 7
Re: Is there any way that I can export the image other than jpgout command?
« Reply #10 on: August 29, 2017, 10:13:13 pm »
What is your end goal with the image file?

I want to select items in Autocad, transfer to images and then insert in the MS word. I would like the images show the lineweights and so on, which is not shown if I use jpgout command. I have tried plotting into jpg.pc3 but it is of poor quality too.

JohnSnow

  • Mosquito
  • Posts: 7
Re: Is there any way that I can export the image other than jpgout command?
« Reply #11 on: August 29, 2017, 10:15:33 pm »
if its linework, suggest DXF import into GIMP

for Photoshop you would need to export to EPS file first and them import that into PS.

Thanks for the reply. I simply want to export to MS word. Is there any better way to do that?

ronjonp

  • Needs a day job
  • Posts: 6312
Re: Is there any way that I can export the image other than jpgout command?
« Reply #12 on: August 30, 2017, 09:57:45 am »
Like Vovka said .. use PNG. JPG is horrible quality.

Windows 10 x64 - AutoCAD /C3D 2018

Custom Build PC

tombu

  • Newt
  • Posts: 87
  • ByLayer=>Not0
Re: Is there any way that I can export the image other than jpgout command?
« Reply #13 on: August 31, 2017, 10:03:07 am »
Just use  extension + OUT for command names like WMFOUT or PNGOUT in your lisp to avoid the dialog box.

For anyone using WMFOUT I'd add
Code: [Select]
(if (/= (getvar 'WmfBkGnd) 0)(progn(setvar 'WmfBkGnd 0)(princ "\nSet WMF background transparent. WmfBkGnd"))) ;Set background color to transparent for creating a WMF.
(if (/= (getvar 'WmfForeGnd) 0)(setvar 'WmfForeGnd 0))
to your acaddoc.lsp file so the linework will always be on a transparent background.
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

BIGAL

  • Newt
  • Posts: 83
  • 30 + years of using Autocad
Re: Is there any way that I can export the image other than jpgout command?
« Reply #14 on: August 31, 2017, 10:32:22 pm »
What everyone has missed is that you can control the image resolution when using plot to web jpg, as a default it can be real average, simply you create a custom sheet size but work in pixels not say mm my sheets are like 6000x4000 as a size. Just work backwards take your required sheet size and use at least 200dpi as a start, dont get carried away like 600 dpi, this will just make real big jpg's and you will not see the pixelation. We have done A1 sheets and replotted and the you can not see the pixelation unless you get the magnifying glass out, we are plotting at 300 dpi on Hp Inkjet.
A man who never made a mistake never made anything

cmwade77

  • Swamp Rat
  • Posts: 1017
Re: Is there any way that I can export the image other than jpgout command?
« Reply #15 on: September 05, 2017, 07:59:48 pm »
What we have setup in the past when we need an image format is we plot to PDF, then use a command line PDF to Image converter to convert the PDF to an Image, this way everything can be automated within a LISP routine and you get everything to the correct scale and a quality image.

Didge

  • Bull Frog
  • Posts: 206
Re: Is there any way that I can export the image other than jpgout command?
« Reply #16 on: September 18, 2017, 10:48:03 am »
As above.

Plus, the MS Word installation media usually comes with an optional extension to enable the direct import of DWG and DXF files.
These filters are usually disabled for a "Typical Install" so a "Custom Install" is required instead.
Think Slow......