Previous in Forum: Piping Engineering   Next in Forum: What are your favorite machines of the world?
Close
Close
Close
16 comments
Rate Comments: Nested
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6

Converting JPEG or Bitmap image to HPGL

08/18/2008 10:53 AM

I currently have an image that I can save in any of the raster type formats (JPEG, Bitmap, Tiff, etc...) I need to import this image into a layout program that only supports a HPGL format. Is there a straight forward method of converting this raster type image into a HPGL format? I have AutoCAD LT 2008 installed on windows XP Pro.

Any advice and help on this topic will bw greatly appreciated...

Thanks much.....

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Associate

Join Date: Jul 2008
Location: New Albany, IN USA
Posts: 34
#1

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 11:41 AM

If you're just trying to get the raster image into your drawing, then you can insert it as an OLE object. This is different from previous versions of autocad where there was a command for "Insert Raster Image"

Click Insert | OLE Object | Then click the radio button for "Create from File" and then the Browse button. You can browse to your Raster image and insert it that way.

Not sure if that's what you're looking for... Hope this helps

BA

Register to Reply
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6
#2
In reply to #1

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 11:50 AM

Yea... I am able to import/insert the saved BMP image as an OLE object and modify it accordingly... But what I'm not sure how to do is then save this CAD dwg into a HPGL format.... Once I have it saved in this format, I can import it into the layout program that only supports an imported HPGL file..

Thanks for the reply!!!!

Register to Reply
Associate

Join Date: Jul 2008
Location: New Albany, IN USA
Posts: 34
#3
In reply to #2

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 12:22 PM

Sorry, I'm using the windows driver for my plotter and do not have the HP-GL drivers installed. I didn't see any way to get there from my machine either. If you have the HP-GL drivers installed, it seems that the answer, if available, might be found in the plot dialog. Do you know for sure that it's supported in LT?

Best of luck to you

Register to Reply
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6
#4
In reply to #3

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 12:32 PM

No I'm not sure, but I will find out....

Thanks for your time and suggestions!!!!

Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#5

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 1:37 PM

I have a demo version of LT 97 and my export functions are disabled.

If you cannot export to HP-GL you can export to DFX and translate to HP-GL. I have done one myself but I am sure I have seen a few around.

Are you using HP-GL 2?

Last time I did some JPEG to Vector converting I used a Demo version of Turbo Cad. It did a good job of it.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6
#6
In reply to #5

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 2:17 PM

Thanks for the suggestion, I will download the demo version of Turbo Cad and give it a shot...

Thanks again.....

Register to Reply
Guru
Hobbies - HAM Radio - New Member United Kingdom - Big Ben - New Member Fans of Old Computers - Altair 8800 - New Member Canada - Member - New Member

Join Date: Jun 2006
Location: Toronto
Posts: 3968
Good Answers: 120
#7
In reply to #6

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 11:20 PM

looks like HPGL is a vector language and it is easy to convert from HPGL to bit maps and jpegs, I suspect the reverse is a lot harder as a bit map or JPEG has no vector data. So if two lines cross in a photo that does not mean they are joined, but once merged down in a JPEG they are.

http://www.visual-integrity.com/format-hpgl.htm - sorry, link no longer available

http://www.cadinfo.net/editorial/cadpdf.htm - sorry, link no longer available

http://www.google.ca/search?hl=en&q=GraphicConverter+&btnG=Google+Search&meta=

__________________
Per Ardua Ad Astra
Register to Reply
Power-User
Canada - Member - BC Born, Alberta Raised, Quebec (poutine) crazed... Engineering Fields - Aerospace Engineering - An airplane is just a bunch of beams... Hobbies - Model Rocketry - Had fun as a kid...fun stuff Hobbies - CNC - dreaming of cutting Engineering Fields - Control Engineering - PID ME!

Join Date: Aug 2006
Location: Montreal, CANADA
Posts: 368
Good Answers: 10
#10
In reply to #7

Re: Converting JPEG or Bitmap image to HPGL

08/19/2008 8:05 AM

Yes, going backwards is difficult. If you're in a rush there are services available online but all they're doing is importing the image and then sitting somebody there and tracing the lines they see...the more lines, the higher the price. A bmp or jpg carries no information about where a vertice is located so even someone tracing the lines is not going to give perfect accuracy but accuracty can be worked in if the original bmp/jpg is a technical drawing with correct dimensions.

__________________
kkjensen
Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#11
In reply to #10

Re: Converting JPEG or Bitmap image to HPGL

08/19/2008 1:56 PM

It is not really that difficult.

The pixels in a bitmap is organized in rows and columns.

The drawing you want vectorized must be as clean as possible and the more complex the more editing and checking would be needed.

One scan line is taken at a time and the xy position of darker pixels is pumped into a data base.

when viewing the next scan line the relation to groups of dark pixels is noted.

At the end of the scan the vectors, line thickens and colour can be calculated quite easy. Annotations can be converted to text with an OCR procedure.

Vectorizing a picture of an object is more difficult but it always help to reduce the colour depth (reduce 256 colours to 16)

An edge can be detected where the colour changes.

Hope my color is not off colour.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Power-User
Canada - Member - BC Born, Alberta Raised, Quebec (poutine) crazed... Engineering Fields - Aerospace Engineering - An airplane is just a bunch of beams... Hobbies - Model Rocketry - Had fun as a kid...fun stuff Hobbies - CNC - dreaming of cutting Engineering Fields - Control Engineering - PID ME!

Join Date: Aug 2006
Location: Montreal, CANADA
Posts: 368
Good Answers: 10
#13
In reply to #11

Re: Converting JPEG or Bitmap image to HPGL

08/20/2008 8:29 AM

Heh heh...technically possible for sure IF the drawing is very clear. Let me explain my opinion a bit more:

The drawings I've tried doing in the past have always been some 30 year old blueprints that were photographed, put on microfilm and then printed by someone who looked at the VERY muddy mess of a technical drawing and said to himself "this would look MUCH better if it was a CAD drawing" and sent a few hundred more along just for the sake of putting it all in the computer. All the software packages I sampled couldn't figure out what was drawing and what was 'mud'.

After using the program it was more work to correct the new drawing than to just have someone do the whole thing and learn about the item in the process.

__________________
kkjensen
Register to Reply
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6
#14
In reply to #13

Re: Converting JPEG or Bitmap image to HPGL

08/20/2008 9:30 AM

Yep, been there...

I have had the "honor" of repairing old and damaged schematics scanned and saved in a raster format.... In the past, I have used paint or other similar utility programs to clean up the smudge, holes in paper doc, missing traces, text, etc.. in an effort to restore them to their original state...

Fortunately, in this case the image was clean and clear, (a new in-house graphic) and the process of recreating it in CAD was straight forward... I was just kinda hopin' that there was software available to do the conversion and reduce some of the labor intensity...

But with the pressure on, "need it yesterday" (as always). I had to produce an end result ASAP.... Like I said, not sexy but got the job done...

promc1

Register to Reply
Guru
Hobbies - Model Rocketry - New Member

Join Date: Jun 2007
Location: East of Seattle, Washington state Republic of the 50 states of America
Posts: 2045
Good Answers: 36
#8

Re: Converting JPEG or Bitmap image to HPGL

08/18/2008 11:26 PM

Hi promc1,

I use Paint Shop Pro by Jasc but it only reads HPGL files, not writes them.

I do not know if later "Corel" PSP will write HPGL files or not.

I was not a Corel fan so did not change.

Brad

__________________
(Larrabee's Law) Half of everything you hear in a classroom is crap. Education is figuring out which half is which.
Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#9

Re: Converting JPEG or Bitmap image to HPGL

08/19/2008 2:36 AM

Hi every one

HP-GL was developed by HP to drive pen plotters. It was pure vector graphics with instructions like PU - Pen Up , PD - Pen Down , PA - Plot Absolute , PR - Plot Relative etc.

We are using it everyday with a manual engraver that were computerised using a plotter. We are using a pascal program that converts from G code , DXF , NCI or whatever on the fly.

With the changing over to faster raster plotters the HP-GL was extended with some additional functions.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Member

Join Date: Aug 2008
Location: State College, Pennsylvania United States
Posts: 6
#12

Re: Converting JPEG or Bitmap image to HPGL

08/19/2008 2:16 PM

I would first like to say Thank You to each and everyone that replied to my query, your help in this matter was truly appreciated...

I needed to apply the image into a "hot" project, and wound up tracing the imported BMP image at home last night using AutoCAD.

I then defined a HPGL only plotter (generic HPGL in plotter manager), saved it to file, sent it to my work address, and then imported it into my application this morning...

May not have been the sexiest resoution, but it got the job done....

Thank again to all....

Register to Reply
Member

Join Date: Apr 2008
Posts: 8
#15
In reply to #12

Re: Converting JPEG or Bitmap image to HPGL

08/20/2008 2:23 PM

Next time you have to do a project like that, look into using GTXRaster CAD PLUS 9.1.

We use it to update old tif drawings. Runs inside Autocad. Not great, but quicker than redraw.

Register to Reply
Member

Join Date: Jul 2013
Posts: 6
#16
In reply to #15

Re: Converting JPEG or Bitmap image to HPGL

03/16/2014 11:50 PM

if you need a simple way to convert jpeg image, you can choose a suitable image converter to help you. please make sure it is compatible with your system.

Register to Reply
Register to Reply 16 comments
Copy to Clipboard

Users who posted comments:

adlike (1); aurizon (1); BArkels (2); Hendrik (3); kkjensen (2); Larry2U (1); promc1 (5); U V (1)

Previous in Forum: Piping Engineering   Next in Forum: What are your favorite machines of the world?
You might be interested in: Image Processors, Image Analysis Software

Advertisement