blob: 341a01c728d9128b058f2ed2dd809de5bb26260a [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module crosapi.mojom;
// Each pixel is represented by 4 bytes [RGBA].
// NOTE: For UI images prefer gfx.mojom.ImageSkia, which supports high-DPI.
// TODO( This struct is unused and should be deleted.
struct Bitmap {
uint32 width@0;
uint32 height@1;
array<uint8> pixels@2;