# Copy images from an icon near reset images

**URL:** <https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341>\
**Category:** Feature requests\
**Created:** [November 23, 2024, 10:23am UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341 "2024-11-23T10:23:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammed\_alshakhas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammed_alshakhas/32/10025_2.png) [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Post date:** [November 23, 2024, 10:23am UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/1 "2024-11-23T10:23:29Z")

</div>

would be great if i can copy an image from an icon instead of right click and navigation to copy .  
i do lots of copying for case studies .  
if for example a copy image icon is put near the slice bar where the reset view and maximize view it would be more efficient than right click menu

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 23, 2024, 1:49pm UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/2 "2024-11-23T13:49:08Z")

</div>

I’m not sure that’s a very common operation for a lot of people, but if it’s common for you, then one option is to add a keyboard shortcut in your .slicerrc.py.

---

<div class="post-metadata">

**Author:** ![mohammed\_alshakhas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammed_alshakhas/32/10025_2.png) [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Post date:** [November 23, 2024, 2:11pm UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/3 "2024-11-23T14:11:51Z")

</div>

i guess you are right , is the resource to help doing it ?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 23, 2024, 2:19pm UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/4 "2024-11-23T14:19:44Z")

</div>

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#customize-keyboard-shortcuts](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#customize-keyboard-shortcuts)

And then this code would need to be converted to Python:

> <https://github.com/Slicer/Slicer/blob/50612e7ca2e5a26858029a93f23005d7e1fc082b/Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyViewContextMenuPlugin.cxx#L493-L503>

As programming projects go this would be among the simplest.

---

<div class="post-metadata">

**Author:** ![mohammed\_alshakhas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammed_alshakhas/32/10025_2.png) [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Post date:** [November 24, 2024, 4:38am UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/5 "2024-11-24T04:38:58Z")

</div>

@lassoan@pieper

in my opinion there is a real estate ( space ) that can be used for so many things to make usage faster and more efficient.

for examplae on right and left side of 3d view we can placed as custom /default transparent icon on side of view .

for example it would way much more efficient than going to volume module and toggle on and off.

saving and a specific view would be much better if choosen from an icon on the same view rather than doing it on save then selecting which one to save .

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 24, 2024, 10:04pm UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/6 "2024-11-24T22:04:20Z")

</div>

There is space but we often get criticism for having too many buttons. If many other people voted on this feature then we would consider adding it though.

In the meantime, you can add this button yourself by writing a few lines of Python script to your .slicerrc.py.

---

<div class="post-metadata">

**Author:** ![mohammed\_alshakhas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammed_alshakhas/32/10025_2.png) [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Post date:** [November 25, 2024, 5:46am UTC](https://discourse.slicer.org/t/copy-images-from-an-icon-near-reset-images/40341/7 "2024-11-25T05:46:41Z")

</div>

I think you also should consider optional transparent button on side .
