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

0 Members and 1 Guest are viewing this topic.

JohnSnow

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

tombu

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

JohnSnow

  • Newt
  • Posts: 52
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: 2437
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

  • Newt
  • Posts: 52
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...

ChrisCarlson

  • Guest
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: 14444
  • 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/

ChrisCarlson

  • Guest
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

  • Water Moccasin
  • Posts: 1626
  • 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: 2437
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

  • Newt
  • Posts: 52
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

  • Newt
  • Posts: 52
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: 7526
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 11 x64 - AutoCAD /C3D 2023

Custom Build PC

tombu

  • Bull Frog
  • Posts: 288
  • 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

  • Swamp Rat
  • Posts: 1396
  • 40 + 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