First image is the original image and 2nd one is the resized image.(same orientation
)
After loading those images using Glide
, it shows two different orientation.
Output:
Dimension of original(1st) image: 480 * 359px
Dimension of resized(2nd) image: 320 * 240px
Code:
Glide.with(mContext)
.load(rooms.get(holder.getBindingAdapterPosition()).getPhoto())
.placeholder(R.drawable.ic_baseline_image_24)
.thumbnail(.05f)
.dontTransform()
.transition(DrawableTransitionOptions.withCrossFade())
.into(holder.imageViewMP);
I am not understanding if it is because of firebase resizing or because of glide.
I seems to me that firebase resize extension
is deleting image exif info
after resizing.