[{"data":1,"prerenderedAt":144},["ShallowReactive",2],{"/dict/import-pcolors":3,"/dict/import-pcolors-surround":133},{"id":4,"title":5,"body":6,"description":100,"extension":101,"meta":102,"navigation":120,"path":129,"seo":130,"stem":131,"__hash__":132},"content/dict/import-pcolors.md","NetLogo Dictionary: import-pcolors",{"type":7,"value":8,"toc":89},"minimark",[9],[10,11,16,35,58,61,77,80],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","import-pcolors","region",[17,18,20],"h3",{"id":19},"import-pcolors30",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#import-pcolors","doc-noteref","Reference to import-pcolors","\nimport-pcolors\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n3.0\n",[36,37,41],"h4",{"id":38,"className":39},"import-pcolors-filename",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#import-pcolors-filename",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"import-pcolors ",[55,56,57],"em",{},"filename",[51,59,60],{},"Reads an image file, scales it to the same dimensions as the patch\ngrid while maintaining the original aspect ratio of the image, and\ntransfers the resulting pixel colors to the patches. The image is\ncentered in the patch grid. The resulting patch colors may be\ndistorted, since the NetLogo color space does not include all\npossible colors. (See the Color section of the Programming Guide.)\nimport-pcolors may be slow for some images, particularly when you\nhave many patches and a large image with many different colors.",[51,62,63,64,76],{},"Since import-pcolors sets the pcolor of patches, agents can sense\nthe image. This is useful if agents need to analyze, process, or\notherwise interact with the image. If you want to simply display a\nstatic backdrop, without color distortion, see ",[65,66,68],"primitive",{"displayText":67,"permalink":67},"import-drawing",[21,69,67],{"href":70,"rel":71,"className":73,"dataDisplayText":67,"target":75,"title":67},"/dictionary#import-drawing",[72],"noopener",[74],"netlogo-wiki-link","_self",".",[51,78,79],{},"The following image file formats are supported: BMP, JPG, GIF, and\nPNG. If the image format supports transparency (alpha), then all\nfully transparent pixels will be ignored. (Partially transparent\npixels will be treated as opaque.)",[51,81,82,83,76],{},"Note: This primitive is not compatible with NetLogo Web. If you\nwish to import patch colors with the same code and the\nsame behavior in both NetLogo and NetLogo Web, see ",[21,84,88],{"href":85,"rel":86},"https://github.com/NetLogo/ImportA-Extension#readme",[87],"nofollow","import-a:pcolors",{"title":90,"searchDepth":91,"depth":92,"links":93},"",5,3,[94],{"id":19,"depth":92,"text":95,"children":96},"\nimport-pcolors\n\n3.0\n",[97],{"id":38,"depth":98,"text":99},4,"import-pcolors filename","Documentation for the import-pcolors primitive.","md",{"source":103,"metadataOutputPath":104,"projectConfig":105,"language":112,"inheritFrom":121,"output":120,"version":106,"layout":122,"dictionaryDisplayName":123,"dictionaryHomeDirectory":124,"indexFileURI":125,"currentItemId":14,"currentItemLabel":14,"primRoot":126,"icon":127,"assetsRoot":128},"autogen/dict/import-pcolors.md","content/dict/import-pcolors.metadata.yaml",{"version":106,"projectRoot":76,"scanRoot":107,"outputRoot":108,"defaults":109,"engine":115,"partials":116,"dedupeIdenticalDiskWrites":120},"7.0.4","autogen","content",{"inheritFrom":110,"language":112,"output":113,"extension":101,"title":114,"version":106},[111],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":117,"extensions":118},[76],[119,101],"mustache",true,[111],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/import-pcolors",{"title":5,"description":100},"dict/import-pcolors","6vhsa3A796ap7aP2RyoAg-b4ULQ7jhujF8XxU2qP9Xk",[134,139],{"title":135,"path":136,"stem":137,"description":138},"NetLogo Dictionary: import-drawing","/dict/import-drawing","dict/import-drawing","Documentation for the import-drawing primitive.",{"title":140,"path":141,"stem":142,"description":143},"NetLogo Dictionary: import-pcolors-rgb","/dict/import-pcolors-rgb","dict/import-pcolors-rgb","Documentation for the import-pcolors-rgb primitive.",1777657815402]