embl-cba / imagej-utils

BSD 2-Clause "Simplified" License
2 stars 4 forks source link

Scijava32 #59

Closed tischi closed 1 year ago

tischi commented 1 year ago

@tpietzsch could you please help me? The RenderTarget class seems to have changed. For example, I use it here: https://github.com/embl-cba/imagej-utils/blob/01f8a926cb8a286fc34ac1ab0d29be1f6a0cb2fa/src/main/java/de/embl/cba/bdv/utils/capture/BdvViewCaptures.java#L347 Could one modify this to work with the new API?

tpietzsch commented 1 year ago

Could one modify this to work with the new API?

Yes, absolutely. I think your code is adapted from BDV's RecordMovieDialog. Have a look at how that has changed: https://github.com/bigdataviewer/bigdataviewer-core/blob/d6edacb661291ef5d6b78df1cd9a1b8045553052/src/main/java/bdv/tools/RecordMovieDialog.java#L270-L325 That should probably be easy to adapt.