{"id":4907,"date":"2026-04-15T09:14:50","date_gmt":"2026-04-15T08:14:50","guid":{"rendered":"https:\/\/www.luso-cad.com\/?p=4907"},"modified":"2026-04-15T09:59:01","modified_gmt":"2026-04-15T08:59:01","slug":"imageattach","status":"publish","type":"post","link":"https:\/\/www.luso-cad.com\/en\/imageattach\/","title":{"rendered":"How to Work with Raster Images in LusoCAD"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"4907\" class=\"elementor elementor-4907\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9675af6 e-flex e-con-boxed e-con e-parent\" data-id=\"9675af6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b14cec7 elementor-widget elementor-widget-text-editor\" data-id=\"b14cec7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Raster images are often used in CAD workflows to reference scanned drawings, terrain photographs, or background images. Understanding how raster images work in LusoCAD helps you integrate them efficiently into your drawings without compromising performance or accuracy.<\/p><div><hr \/><h2 style=\"text-align: justify;\">What is a Raster Image in CAD?<\/h2><p style=\"text-align: justify;\">A raster image in CAD (Computer-Aided Design) is a digital image made up of a grid of pixels, where each pixel contains a specific colour value. Unlike vector objects, raster images do not possess geometric information.<\/p><hr \/><h2 style=\"text-align: justify;\">Caracter\u00edsticas das Imagens Raster<\/h2><h3 style=\"text-align: justify;\">Pixel-based<\/h3><p style=\"text-align: justify;\">As imagens raster s\u00e3o constitu\u00eddas por pequenos quadrados denominados p\u00edxeis. <em>pixels<\/em>. Together, these pixels form the complete image.<\/p><h3 style=\"text-align: justify;\">Dependents of the Resolution<\/h3><p style=\"text-align: justify;\">The quality of a raster image depends on its resolution, usually measured in pixels per inch (PPI). Higher resolution offers greater detail but increases file size and can affect performance.<\/p><h3 style=\"text-align: justify;\">Common File Formats<\/h3><p style=\"text-align: justify;\">The most used raster formats in LusoCAD include:<\/p><ul style=\"text-align: justify;\"><li><strong>JPG \/ JPEG<\/strong><\/li><li><strong>PNG<\/strong><\/li><li><strong>Loss-making<\/strong><\/li><li><strong>TIFF<\/strong><\/li><\/ul><p style=\"text-align: justify;\">These formats are ideal for photographs, scans, and visually complex images.<\/p><hr \/><h2 style=\"text-align: justify;\">Using Raster Images in LusoCAD<\/h2><h3 style=\"text-align: justify;\">Background References and Textures<\/h3><p style=\"text-align: justify;\">Raster images can be attached as backgrounds or textures, providing visual context to the project.<\/p><h3 style=\"text-align: justify;\">Import of Scanned Drawings<\/h3><p style=\"text-align: justify;\">Digitalised plans, manual sketches or documents can be imported and used as a reference for tracing or aligning entities.<\/p><h3 style=\"text-align: justify;\">Limitations<\/h3><p style=\"text-align: justify;\">Raster images lose quality when enlarged and can become pixelated. For this reason, they are not suitable for designs that require frequent resizing or precise editing, unlike vector objects.<\/p><hr \/><h2 style=\"text-align: justify;\">How to Attach Raster Images in LusoCAD<\/h2><p style=\"text-align: justify;\">Utilise the command <strong>IMAGEATTACH<\/strong> to attach raster images (bi-level, 8-bit grayscale, 8-bit color, or 24-bit color) to the drawing. After attaching, the same image can be inserted multiple times, similar to a block.<\/p><p style=\"text-align: justify;\">It is also possible:<\/p><ul style=\"text-align: justify;\"><li>Crop images<\/li><li>Adjust brightness, contrast, fade and transparency<\/li><\/ul><\/div><p><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/1.png\" alt=\"IMAGEATTACH for Raster Images\" width=\"477\" height=\"326\" class=\"aligncenter wp-image-4909 size-full\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/1.png 477w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/1-300x205.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/1-18x12.png 18w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/p><div><h3 style=\"text-align: justify;\">Steps for Attaching a Raster Image<\/h3><ol style=\"text-align: justify;\"><li>In the main menu, select <strong>Insert &gt; Raster Image Reference<\/strong><\/li><li>Locate the image file and click <strong>Open<\/strong><\/li><li>In the dialog box <em>Picture<\/em>:<ul><li>Active <strong>Specify on screen<\/strong> for the <em>Insertion point<\/em> and <em>Scale<\/em><\/li><li>Define the angle of <em>Rotation<\/em>, if necessary<\/li><\/ul><\/li><li>Click on <strong>OK<\/strong><\/li><li>Specify the insertion point in the drawing<\/li><li>Specify the scale factor<\/li><\/ol><\/div><p><img decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/2.png\" alt=\"\" width=\"800\" height=\"594\" class=\"aligncenter wp-image-4910\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/2.png 916w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/2-300x223.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/2-768x570.png 768w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/2-16x12.png 16w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p><div><hr \/><h2 style=\"text-align: justify;\">How to Scale Raster Images<\/h2><p style=\"text-align: justify;\">It is possible to define the scale factor directly in the dialog box <em>Picture<\/em>.<br \/>If no scale is specified, the image is attached with its original dimensions.<\/p><ul style=\"text-align: justify;\"><li>Scale factors are unitless by default<\/li><li>The image is scaled proportionally according to the factor entered<\/li><\/ul><hr \/><h2 style=\"text-align: justify;\">How to Detach Raster Images<\/h2><p style=\"text-align: justify;\">If a raster image is no longer needed, it can be removed from the drawing.<\/p><p style=\"text-align: justify;\">When removing an image:<\/p><ul style=\"text-align: justify;\"><li>All instances, links and definitions are purged from the drawing<\/li><li>The original image file on disk <strong>it is not affected<\/strong><\/li><\/ul><hr \/><h3 style=\"text-align: justify;\">Presentation of Outlines (IMAGEFRAME Command)<\/h3><p style=\"text-align: justify;\">It is possible to activate or deactivate image outlines in the current view.<\/p><p style=\"text-align: justify;\"><strong>Values<\/strong><\/p><ul style=\"text-align: justify;\"><li><code>1<\/code> \u2013 Display and print the image outlines<\/li><li><code>0<\/code> Hide contours on screen and print<\/li><\/ul><\/div><p><img decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/4.png\" alt=\"\" width=\"687\" height=\"412\" class=\"aligncenter wp-image-4911 size-full\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/4.png 687w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/4-300x180.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/4-18x12.png 18w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/p><div><h4 style=\"text-align: justify;\">To activate or deactivate outlines via the menu:<\/h4><ol style=\"text-align: justify;\"><li>Select <strong>Modify &gt; Object &gt; Image &gt; Outline<\/strong><\/li><li>Choose one of the following options:<ul><li>Introduction <strong>1<\/strong> to show the outlines<\/li><li>Introduction <strong>0<\/strong> to hide the outlines<\/li><\/ul><\/li><\/ol><hr \/><h2 style=\"text-align: justify;\">How to Crop Raster Images<\/h2><p style=\"text-align: justify;\">Raster images can be cropped with rectangular or polygonal boundaries.<\/p><h3 style=\"text-align: justify;\">Steps to Crop an Image<\/h3><\/div><p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/5.png\" alt=\"\" width=\"698\" height=\"507\" class=\"aligncenter wp-image-4913 size-full\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/5.png 698w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/5-300x218.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/5-18x12.png 18w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p><div><ol style=\"text-align: justify;\"><li>Select <strong>Modify &gt; Crop &gt; Image <\/strong>or write<strong> CLIP<\/strong><\/li><li>Select the image to crop<\/li><li>Introduction <strong>N<\/strong> New limit<\/li><\/ol><h3 style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/6.png\" alt=\"\" width=\"800\" height=\"411\" class=\"aligncenter wp-image-4912\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/6.png 937w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/6-300x154.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/6-768x394.png 768w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/6-18x9.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/h3><h3 style=\"text-align: justify;\"><\/h3><h3 style=\"text-align: justify;\">Rectangular crop<\/h3><ul style=\"text-align: justify;\"><li>Define the first canto<\/li><li>Opposite corner<\/li><li>Only the area inside the rectangle remains visible<\/li><\/ul><h3 style=\"text-align: justify;\">Polygonal Clipping<\/h3><ul style=\"text-align: justify;\"><li>Indicate the points of the polygon<\/li><li>First <strong>Enter<\/strong> To conclude<\/li><li>Only the area inside the polygon remains visible<\/li><\/ul><\/div><p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7.png\" alt=\"\" width=\"800\" height=\"328\" class=\"aligncenter wp-image-4914\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7.png 1060w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7-300x123.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7-1024x420.png 1024w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7-768x315.png 768w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/7-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p><div><hr \/><h2 style=\"text-align: justify;\">Adjust Brightness, Contrast and Fade<\/h2><p style=\"text-align: justify;\">Utilise the command <strong>Image Adjust<\/strong> to control:<\/p><ul style=\"text-align: justify;\"><li>Shine<\/li><li>Contrast<\/li><li>Fading<\/li><\/ul><p style=\"text-align: justify;\">These adjustments affect only the display and printing.<br \/>The original image file and other instances of the image <strong>are not changed<\/strong>.<\/p><\/div><p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/8.png\" alt=\"\" width=\"800\" height=\"327\" class=\"aligncenter wp-image-4915\" srcset=\"https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/8.png 1021w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/8-300x123.png 300w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/8-768x314.png 768w, https:\/\/www.luso-cad.com\/wp-content\/uploads\/2026\/04\/8-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p><div><hr \/><h2 style=\"text-align: justify;\">Improving Performance in Raster Image Viewing<\/h2><p style=\"text-align: justify;\">LusoCAD allows control of the display quality of raster images to improve performance.<\/p><ul style=\"text-align: justify;\"><li><strong>High Quality<\/strong> - Better image definition, slower visualisation<\/li><li><strong>Draft Quality<\/strong> \u2013 Faster viewing with less detail<\/li><\/ul><p style=\"text-align: justify;\">The use of the mode <em>Draft<\/em> can significantly improve performance when working with large-dimension or a large number of raster images.<\/p><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Raster images are often used in CAD workflows to reference scanned drawings, terrain photographs, or background images. Understanding how raster images work in LusoCAD helps you integrate them efficiently into your drawings without compromising performance or accuracy.<\/p>","protected":false},"author":4,"featured_media":4916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/posts\/4907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/comments?post=4907"}],"version-history":[{"count":4,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/posts\/4907\/revisions"}],"predecessor-version":[{"id":4919,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/posts\/4907\/revisions\/4919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/media\/4916"}],"wp:attachment":[{"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/media?parent=4907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/categories?post=4907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.luso-cad.com\/en\/wp-json\/wp\/v2\/tags?post=4907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}