{"title":"Codeunit 3970 Image Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/3970-image-impl/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":3970,"name":"Image Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/3970-image-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/3970-image-impl/source/","path":"src/System Application/App/Image/src/ImageImpl.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:4110":{"name":"Base64 Convert","url":"https://jonas-paprotka.de/ref/codeunit/4110-base64-convert/"}},"procs":[{"name":"Clear","line":40,"kind":"procedure","params":4,"steps":[[55,"call","LoadImage",1],[63,"call","EncodeToImage",1]]},{"name":"Crop","line":66,"kind":"procedure","params":4,"steps":[[81,"call","LoadImage",1],[90,"call","GetFormatAsString",0],[104,"call","EncodeToImage",1]]},{"name":"Resize","line":108,"kind":"procedure","params":2,"steps":[[115,"call","GetWidth",0],[115,"call","GetHeight",0],[115,"call","GetFormatAsString",0],[122,"call","LoadImage",1],[135,"call","EncodeToImage",1]]},{"name":"ToBase64","line":139,"kind":"procedure","params":0,"steps":[[144,"ext","codeunit",4100,"CreateInStream",2],[146,"ext","codeunit",4110,"ToBase64",1]]},{"name":"FromBase64","line":149,"kind":"procedure","params":1,"steps":[[154,"ext","codeunit",4100,"CreateOutStream",2],[155,"ext","codeunit",4110,"FromBase64",2],[157,"call","CreateAndVerifyImage",0]]},{"name":"FromStream","line":160,"kind":"procedure","params":1,"steps":[[164,"ext","codeunit",4100,"CreateOutStream",1],[166,"call","CreateAndVerifyImage",0]]},{"name":"GetFormat","line":169,"kind":"procedure","params":0,"steps":[[175,"call","LoadImage",1]]},{"name":"SetFormat","line":200,"kind":"procedure","params":1,"steps":[[228,"call","LoadImage",1],[230,"ext","codeunit",4100,"CreateOutStream",1],[236,"call","CreateAndVerifyImage",0]]},{"name":"GetFormatAsString","line":239,"kind":"procedure","params":0,"steps":[[244,"call","LoadImage",1]]},{"name":"GetWidth","line":250,"kind":"procedure","params":0,"steps":[[254,"call","LoadImage",1]]},{"name":"GetHeight","line":259,"kind":"procedure","params":0,"steps":[[263,"call","LoadImage",1]]},{"name":"RotateFlip","line":268,"kind":"procedure","params":1,"steps":[[273,"call","LoadImage",1],[278,"call","EncodeToImage",1]]},{"name":"Save","line":281,"kind":"procedure","params":1,"steps":[[285,"ext","codeunit",4100,"CreateInStream",2]]},{"name":"CreateAndVerifyImage","line":289,"kind":"procedure","access":"local","params":0,"steps":[[296,"ext","codeunit",4100,"Length",0],[297,"ext","codeunit",4100,"Length",0],[302,"call","LoadImage",1],[308,"call","SetCodec",2],[310,"ext","codeunit",4100,"Length",0],[311,"call","GetWidth",0],[312,"call","GetHeight",0],[313,"call","GetFormatAsString",0]]},{"name":"LoadImage","line":317,"kind":"procedure","access":"local","params":1,"steps":[[321,"ext","codeunit",4100,"HasValue",0],[324,"ext","codeunit",4100,"CreateInStream",2]]},{"name":"EncodeToImage","line":339,"kind":"procedure","access":"local","params":1,"steps":[[356,"ext","codeunit",4100,"CreateOutStream",1]]},{"name":"GetRotateFlipType","line":360,"kind":"procedure","params":0,"steps":[[371,"call","LoadImage",1]]}]}