---
id: change/bcapps/11073
type: change
title: "#11073 Validate image content before sending to Computer Vision"
summary: Image Analysis Management now validates image content before sending to Computer Vision endpoints, rejecting non-image blobs and unsupported formats while supporting JPEG, PNG, GIF and BMP.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit image analysis management
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-17T01:12:06.744Z"
  flags: []
generated:
  at: "2026-11-21T00:15:56.434Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a5e427c4274e79120ca888b09dd93af3c4b88d18
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11073
    title: "microsoft/BCApps#11073: Validate image content before sending to Computer Vision"
    date: "2026-10-09"
    commit: a5e427c4274e79120ca888b09dd93af3c4b88d18
    t: null
    quote: Validate image content before sending it to the configured Vision endpoint.
links:
  learn: []
  objects:
    - object/codeunit/2020
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/ui-extensions-image-analyzer
      title: The Image Analyzer Extension
      label: possibly related
      why: Documents the Image Analyzer extension that validates and processes images for analysis.
      by: model
number: 11073
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11073
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-09T11:49:24Z"
author: gggdttt
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 459
  deletions: 12
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/2020
    page: codeunit/2020
    type: codeunit
    id: 2020
    name: Image Analysis Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648727
systems:
  - copilot
quote: Validate image content before sending it to the configured Vision endpoint.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #11073 Validate image content before sending to Computer Vision

> Image Analysis Management now validates image content before sending to Computer Vision endpoints, rejecting non-image blobs and unsupported formats while supporting JPEG, PNG, GIF and BMP.

[Pull request](https://github.com/microsoft/BCApps/pull/11073) · merged into `main` (BC30) on 2026-10-09 by gggdttt · 2 files (+459 -12), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Validates that uploaded content is a supported image format before HTTP request
- Accepts JPEG, PNG, GIF and BMP formats matching documented Computer Vision and Custom Vision requirements
- Loads and decodes image files using System Application Image codeunit
- Rejects non-image content and unsupported formats through existing error notification path
- No universal size limits or minimum dimensions imposed; API-specific checks remain with configured service
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 2020 "Image Analysis Management"](../../objects/codeunit/2020.md), Base Application: modified

## Context

- Work items: AB#648727
- Labels: Team: Integrations
- Systems: copilot
- From the description: "Validate image content before sending it to the configured Vision endpoint."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [The Image Analyzer Extension](https://learn.microsoft.com/dynamics365/business-central/ui-extensions-image-analyzer) — possibly related: Documents the Image Analyzer extension that validates and processes images for analysis. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
