sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Importing a JPEG of known real dimensions

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 2 Posters 261 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Leont
      last edited by

      Hi,

      Im looking for help on how to import a jpeg image of known size, by this I mean the DPI resolution has been set in the EXIF header, so that the intended physical size of the actual jpeg image in known.

      I understand this when outputting the image, so that the printer knows how big to make the final print.
      But I want to import this JPEG into SU so that it appears as the correct physical size.

      The attachment file has the EXIF resolution set so the physical size should be 90 x 120 inches. Ive tested this file in other CAD and its read ok

      Ive noticed in SU, that importing images with different EXIF resolutions appear as different sizes, so its reading something. But I cant figure out exactly how it works

      Im looking at building a new output for a photogrammetric camera called Spike (http://www.ikegps.com/spike) to enable direct measurements from photos in CAD

      thanks

      Leon

      1 Reply Last reply Reply Quote 0
      • JQLJ Offline
        JQL
        last edited by

        The way I do it is accurate but completelly indiferent to exif:

        • Import the img into sketchup;
        • Draw a line on top of it that you know the size of (if you know the overall size of the image even better);
        • Group the image and the line;
        • Edit the group;
        • Use tape measure on the line;
        • It should read some random distance in the VCB;
        • Right after clicking on the second point, type the distance you want that line to be;
        • Both line and image (and everything inside the group) will scale porportionally so that the line is at the size of your input.

        www.casca.pt
        Visit us on facebook!

        1 Reply Last reply Reply Quote 0
        • L Offline
          Leont
          last edited by

          So a little more info, I looking for an automatic way of doing this, so that I can improve the Spike photogrammetic camera product.

          We are prototyping a special Jpeg output from the Spike.
          The Jpeg will be deskewed, eg the measurement surface, which is usually oblique to the camera, will be flattened.
          Then we compute a resolution in DPI for the measurement surface, and apply this to the JPEG EXIF resolution fields.

          The idea, is that a CAD package imports the JPEG, reads the resolutions and presents the image with the correct physical measurements.

          This is intended to be a standard output, so for example, users can photograph the side of a building, put it into the CAD, and measure directly.

          Ive tested the concept in CorelDraw, which our Signage customer base use, and it works really well, it reads JPEG resolutions, get the image to the right size and makes downstream design work a lot simpler.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement