Skip to content

Conversation

@will-moore
Copy link
Member

Fix and RFE for zooming images when exporting / creating figures.

To test:

  • Draw a ROI (rect) on an image and create ROI_Split_Figure in Insight, choosing ROI zoom of E.g. 400%. Check that the ROI zoomed panels are not pixelated.
  • Run Batch_Image_Export script, setting the Zoom parameter to E.g. 300%. Should see that all images are 3x their default size and that the zooming is not pixelated.

--rebased-to #35

@pwalczysko
Copy link
Member

Step 1: works as expected.
Step 2 (Batch_Image_Export script): Error after change of zoom - see workflow below

  • import test_images_good/andor/
  • select the Dataset Andor
  • go Scripts > Batch_Image_Export
  • Set the Zoom to 300%
  • the action window reports successful completion
  • click onto the Batch_image_export.zip link
  • in the menu, there is Error (see below)
  • repeat Batch_image_Export, this time setting zoom to 100% (default)
  • this time, the Batch_image_Export.zip menu in Activities has no Error in it
  • run the Batch_image_Export again, again with 300% -> Error is there again

Error:


/usr/lib/python2.6/dist-packages/PIL/Image.py:1298: DeprecationWarning: integer argument expected, got float
  im = self.im.stretch(size, resample)

@pwalczysko
Copy link
Member

Except for the error (see above) the images created by Batch_Image_Export look as expected, even at 300%.

@atarkowska
Copy link
Member

Works for me as expected. No errors for me. Tested both Insight & Web.

chris-allan added a commit that referenced this pull request Jul 18, 2013
@chris-allan chris-allan merged commit d5ea9cd into ome:dev_4_4 Jul 18, 2013
@jburel
Copy link
Member

jburel commented Sep 9, 2013

--rebased-to #35

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants