Skip to content

RangeError (index): Index out of range: index should be less than ... #6

@Alii-isk

Description

@Alii-isk

I am having a problem when trying to feeding the images to DiffImage.compareFromMemory
I used this line to convert from Imagebytes to Image

import 'package:image/image.dart' as img


Uint8List imageBytes = await getImageBytes();
img.Image firstImage = img.Image.fromBytes(300, 300, imageBytes); 
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions