Author Topic: Overlaying images (like both sides of a PCB)  (Read 978 times)

0 Members and 1 Guest are viewing this topic.

Offline RenateTopic starter

  • Super Contributor
  • ***
  • Posts: 1460
  • Country: us
Overlaying images (like both sides of a PCB)
« on: September 23, 2021, 12:00:21 am »
Sometimes you want to overlay two images. It could be two sides of a PCB. It could be your PCB footprint vs the reference in a PDF.

Of course Gnu Gimp does that wonderfully (if you can figure out how to do it). Face it, most of us don't spend all day with Adobe Illustrator or Gimp. MS Paint doesn't cut it since it has no idea from transparency. Maybe MS Paint 3D? Mmm, it's hardly worth the effort.

I was trying to reconcile a PCB footprint with a datasheet. Fortunately, I know that they are both at the correct angle. The PDF I can scale directly in Adobe Acrobat. It only remains to position them and do the correct graphical operation. In this case it was an AND of the B&W PDF over the multi-color Eagle view.

No, this is not ready for prime time. I'd like to make the second image auto transparency and allow various graphic combining operations. Also angle and scale.

So, how do you handle this? Is there an app specifically for this?
 

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1110
  • Country: us
Re: Overlaying images (like both sides of a PCB)
« Reply #1 on: September 23, 2021, 03:45:34 am »
I am not 100% sure what you are looking for.

Every 2D CAD program I have used has the ability to turn layers on and off. My go-to one (FastCAD) also allows me to import images into a drawing so I can see those images along with any or all of the layers I am creating. I have never checked, but there must be other 2D CAD programs that have this functionality.

If you are talking about PCB design software, while layers can be turned on and off, I don't know which ones allow the import of images, but I am sure some must. Nor have I seen any that allow translucent layers. But I have had no problems working with the traces on the various layers.

You seem to want a translucent layer, perhaps for the imported image. Paint.net allows all layers to have their transparency set from 0 to 100%. It can certainly import images and it has much of the fundamental capabilities of Photoshop for the manipulation of those images. It also has a grid capability so you can do PCB design work but I do not know if it can generate the Gerber files. Perhaps it will help. I have designed complicated PCBs using a CAD/graphic program first and then manually copying the results to a PCB design program.

Again, I am not sure what you mean by "various graphic combining operations". Most of these programs allow layers to be turned on and off so graphics on them can be combined. In some cases, a graphic can be assigned a transparent color so they can cut "holes" in the contents of other layers.

Your best bet may be to take advantage of the free trial periods offered by some programs.
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 

Offline RenateTopic starter

  • Super Contributor
  • ***
  • Posts: 1460
  • Country: us
Re: Overlaying images (like both sides of a PCB)
« Reply #2 on: September 23, 2021, 11:40:05 am »
I've used CAD programs with imported graphics, it's cumbersome. Alignment is difficult and you don't have the ability to do graphic operations.

By "graphic operations" I mean anything more complex than addition of translucent layers. See any of the Windows BitBlt "raster operation codes": https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-bitblt You could also add mouseable horizontal wipe.
 

Offline Thomeeque

  • Newbie
  • Posts: 1
  • Country: cz
Re: Overlaying images (like both sides of a PCB)
« Reply #3 on: May 21, 2024, 11:22:11 am »
Hi,

you can try my simple, free to use app at https://thmq.mysteria.cz/pcbRtg/ :)

(dedicated thread at diystompboxes.com)

Enjoy, T.
« Last Edit: May 21, 2024, 12:05:22 pm by Thomeeque »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf