Skip to content

render_image_region renders cropped image #609

@Rylern

Description

@Rylern

Bug report

Describe the bug

When the Mimosa_TB_ferme_9_40x.JPG image is uploaded to an OMERO server, the request http://<omero-address>/webgateway/render_image_region/<image-id>/0/0/?tile=0,0,0,1600,1200 returns a cropped view of the original image (the image has a size of 1600 x 1200 pixels).

However, the request http://<omero-address>/webgateway/render_image/<image-id>/0/0/ returns a correct view of the image.

Original image:

Image

Result of http://<omero-address>/webgateway/render_image_region/<image-id>/0/0/?tile=0,0,0,1600,1200:

Image

To Reproduce

Steps to reproduce the behavior:

  1. Upload the Mimosa_TB_ferme_9_40x.JPG image to an OMERO server.
  2. Go to http://<omero-address>/webgateway/render_image_region/<image-id>/0/0/?tile=0,0,0,1600,1200
  3. Compare with http://<omero-address>/webgateway/render_image/<image-id>/0/0/

Expected behavior

http://<omero-address>/webgateway/render_image_region/<image-id>/0/0/?tile=0,0,0,1600,1200 and http://<omero-address>/webgateway/render_image/<image-id>/0/0/ should give the same result.

Version:

  • OMERO version: OMERO.web 5.27.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions