NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 351 - TrakEM2 exports regeneration symbol instead of images
TrakEM2 exports regeneration symbol instead of images
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P2 normal
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2011-08-16 17:48 CDT by Stephan Saalfeld
Modified: 2012-07-03 18:45 CDT
0 users

See Also:


Attachments
export with regeneration symbols (192.85 KB, image/png)
2011-08-16 17:49 CDT, Stephan Saalfeld

Description Stephan Saalfeld 2011-08-16 17:48:59 CDT
I exported a series of flat images having 'save to file' and 'use original images' checked.  In the project, there were 10 layers for which mipmaps had been deleted.  TrakEM2 exported them showing the mipmap-regeneration symbol instead of image data.  All layers that had mipmaps available were exported showing image data.  I am wondering abut two things:

1.
Shouldn't TrakEM2 export wait until mipmaps are available when exporting instead of rendering the symbol?

2.
I had checked 'use original images'!  Why does the presence of mipmaps make a difference at all here?
Comment 1 Stephan Saalfeld 2011-08-16 17:49:28 CDT
Created attachment 51
export with regeneration symbols
Comment 2 Stephan Saalfeld 2011-08-22 10:51:35 CDT
Looking into the code I found that the flag 'use original images' is only used in combination with 'web export', otherwise, mipmaps are always used.  Is this a bug or desired behavior.  In the latter case, we should document it.
Comment 3 Johannes Schindelin 2012-04-20 22:40:44 CDT
Adjusting the status to reality.
Comment 4 Albert Cardona 2012-04-20 23:13:22 CDT
Cannot reproduce anymore.
Comment 5 Stephan Saalfeld 2012-04-21 17:09:52 CDT
It is easy to reproduce: Delete the project folder of an existing project with more than one layer---each with at least one reasonably large picture.  Open the project and do not browse layers such that non of them has mipmaps created except the one that you see on opening.  Now 'Export->Make Flat Image' for all layers will render the R instead of an image.  The expected behavior is that export will either wait for a mipmap to be generated if not present or take the original image.  Sorry that I cannot fix the bug but it is perfectly valid.
Comment 6 Albert Cardona 2012-07-03 18:45:34 CDT
This error has been fixed by commit efde8e0e8bbe6104 in the TrakEM2 repository.