Skip to content

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

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); 
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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