Questions tagged [flutter-image]

Anything that relates to handle images in Flutter, commonly the usage for Flutter Image component.

Image is a very important part of Flutter, it provides the ability to handle image display, encoding/decoding, and processing.

286 questions
3
votes
2 answers

Flutter:- already_active, Image picker is already active, null, null

Everytime I'm pressing pick image in release mode it's showing me this error E/flutter (24004): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: PlatformException(already_active, Image picker is already active, null, null) E/flutter…
user14614847
3
votes
6 answers

Convert Image from Buffer to display in Frontend (Flutter)

I have a backend based on NodeJS and using mongodb as the database. Images with the field name photo is saved as object Type Buffer. I have successfully sent Images from the app using form data but I am not able to display the image in…
Nehal
  • 1,261
  • 12
  • 18
3
votes
2 answers

How can I blur the image itself on Flutter?

Recently, I tried to blur the image. But the method using BackDropFilter only makes the blurry effect on the image but doesn't blur the image itself. What I want to do is to blur the network image itself so it doesn't have a solid border. As you…
CrimsonFoot
  • 325
  • 3
  • 13
3
votes
2 answers

handle image errors when image doesn't exist in flutter

I am trying to load an image with FadeInImage, but when the image path does not exist, an AssetImage is loaded. However, the NetworkImage throws me error: HTTP request failed, statusCode: 404 I tried to do it with AdvancedNetworkImage and it works…
3
votes
1 answer

Flutter ImagePicker opens in selfie mode when CameraDevice.rear selected

Would anyone know why the ImagePicker.pickImage keeps opening in the wrong camera direction? I'm using ImagePicker (0.6.5+2) var image = await ImagePicker.pickImage( source: ImageSource.camera, imageQuality: 60, …
Ben Butterworth
  • 22,056
  • 10
  • 114
  • 167
3
votes
1 answer

Flutter unable to load image asset on physical device (but loading it just fine on the emulator)

I am building a flutter app and an asset image won't load when I run the app on my phone, but it loads fine when I run the app on the emulator. Here's the error I get: > I/flutter (26364): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE >…
Giulia
  • 765
  • 2
  • 8
  • 33
3
votes
2 answers

Multi Image Picker doesn't locate my image until I open Google Photos in Flutter

I'm using multi_image_picker to allow picking images in my Flutter app. I've noticed odd behavior when I download an image and store in the Download folder of the device, and the following things happen: After I download an image, I trigger the…
Eliya Cohen
  • 10,716
  • 13
  • 59
  • 116
3
votes
3 answers

How to display an Image.memory

I need to display an Image.memory in my project, but when I put this code in the body of Scaffold, it doesn't show. import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'dart:convert'; Codec stringToBase64 =…
DavidY
  • 31
  • 1
  • 1
  • 3
3
votes
1 answer

How to change a image file to thumbnail while keeping original file in flutter

I need to take a picture from my camera app and upload the photo to my firebase storage. In the same time I also need to upload the thumbnail version of same image file. I need to fetch the url of the image and store it to database. I am new to…
3
votes
1 answer

Flutter: why Image.network cannot load image

I launch the app without network. Then I make network available and click setState button, the image is still not visible. Is there a solution? @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( …
Jack Ma
  • 31
  • 4
2
votes
1 answer

Flutter Image Picked from Gallery has Reduced Size - How to Maintain Original Size?

I am facing an issue where the size of the picked image in the app is significantly smaller than the original image in the phone's gallery. Original image 14.5 MB but after picking it, its 324 KB without any quality setting. In Document in my…
2
votes
1 answer

Show zoomed in part of an image

I want to show an Image but only a cropped part of it, zoomed in. This is how it looks right now: and this is how I want it to look: I want the background image to be zoomed in. I use flutter_gen_runner to be able to use Assets easily. This is my…
progNewbie
  • 4,362
  • 9
  • 48
  • 107
2
votes
0 answers

How to use bunnyCDN to load images in flutter app

I'm working on a flutter app for a client and I've been stuck trying to load images from bunnyCDN and prior to this project I've never used bunnyCDN or any other CDN. I've done research and every necessary step to figure out how to go about it but…
Ariyo
  • 49
  • 4
2
votes
0 answers

Flutter Exception Won't Catch Invalid Image Data

I have a synchronous method that reads an image from disk. I'm trying to handle all scenarios where the image didn't get saved properly and is corrupted. If I place a fake.jpg in my app's documents folder and then run the below code on it, it…
Clifton Labrum
  • 13,053
  • 9
  • 65
  • 128
2
votes
2 answers

QueryArtworkWidget Image blinking in flutter

I am building a music player in which I'm using on_audio_query package to get details of songs and QueryArtworkWidget and realtimeplayinginfos to display the image corresponding to the song. But while Iam playing the song, the image is blinking.…
Rohit Krishna
  • 192
  • 2
  • 11
1 2
3
18 19