I have some images stored in sql server type varbinary, I read them normally in android studio with the code below:
byte decodedByte1 = Base64.decode(question.figure1, 0);
Bitmap Image1 = BitmapFactory.decodeByteArray(decodedByte1, 0, decodedByte1.length);
holder.figure1.setImageBitmap(Image1);
I’m migrating to react native and searches on the internet point to use: source={{ uri: data:image/png;base64,${item.figura1}
, the images have several different sizes, there is no width and height for each one, how do I read these images?