Commit 618f7d42d3f9a96c5905b0454f5b8e2445369ada

Authored by Thiago Franco de Moraes
1 parent 54c78726
Exists in master

Converted all icons to png

icons/be.bmp
No preview for this file type
icons/be.png 0 → 100644

595 Bytes

icons/brush_circle.jpg

1.17 KB

icons/brush_circle.png 0 → 100644

1.07 KB

icons/brush_square.jpg

1022 Bytes

icons/brush_square.png 0 → 100644

934 Bytes

icons/ca.bmp
No preview for this file type
icons/ca.png 0 → 100644

307 Bytes

icons/cs.bmp
No preview for this file type
icons/cs.png 0 → 100644

646 Bytes

icons/de_DE.bmp
No preview for this file type
icons/de_DE.png 0 → 100644

562 Bytes

icons/el_GR.bmp
No preview for this file type
icons/el_GR.png 0 → 100644

576 Bytes

icons/en.bmp
No preview for this file type
icons/en.png 0 → 100644

957 Bytes

icons/es.bmp
No preview for this file type
icons/es.png 0 → 100644

472 Bytes

icons/fr.bmp
No preview for this file type
icons/fr.png 0 → 100644

360 Bytes

icons/it.bmp
No preview for this file type
icons/it.png

196 Bytes | W: | H:

488 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/ja.bmp
No preview for this file type
icons/ja.png 0 → 100644

431 Bytes

icons/ko.bmp
No preview for this file type
icons/ko.png 0 → 100644

721 Bytes

icons/layout_data_only.gif

1.17 KB

icons/layout_data_only.png

1.43 KB | W: | H:

931 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_data_only_original.gif

788 Bytes

icons/layout_data_only_original.png

1004 Bytes | W: | H:

855 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_full.gif

1.17 KB

icons/layout_full.png

1.46 KB | W: | H:

917 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_full_original.gif

804 Bytes

icons/layout_full_original.png

996 Bytes | W: | H:

883 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/measure_angle.jpg

701 Bytes

icons/measure_angle.png

1.79 KB | W: | H:

4.7 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/measure_angle_original.jpg

1.79 KB

icons/measure_angle_original.png

2.16 KB | W: | H:

12.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/object_add.gif

1.58 KB

icons/object_colour.jpg

360 Bytes

icons/object_colour.png 0 → 100644

352 Bytes

icons/object_invisible.jpg

297 Bytes

icons/object_invisible.png 0 → 100644

284 Bytes

icons/object_remove.gif

1.65 KB

icons/object_visible.jpg

1.88 KB

icons/object_visible.png 0 → 100644

3.34 KB

icons/pt.bmp
No preview for this file type
icons/pt.png 0 → 100644

651 Bytes

icons/pt_BR.bmp
No preview for this file type
icons/pt_BR.png 0 → 100644

596 Bytes

icons/ro.bmp
No preview for this file type
icons/ro.png 0 → 100644

278 Bytes

icons/ru.bmp
No preview for this file type
icons/ru.png 0 → 100644

289 Bytes

icons/text.gif

243 Bytes

icons/text.png

477 Bytes | W: | H:

422 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tool_rotate_original.gif

1.63 KB

icons/tool_rotate_original.png

2.45 KB | W: | H:

1.38 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tr_TR.bmp
No preview for this file type
icons/tr_TR.png 0 → 100644

409 Bytes

icons/zh_TW.bmp
No preview for this file type
icons/zh_TW.png 0 → 100644

846 Bytes

invesalius/gui/data_notebook.py
... ... @@ -542,13 +542,13 @@ class MasksListCtrlPanel(InvListCtrl):
542 542 def __init_image_list(self):
543 543 self.imagelist = wx.ImageList(16, 16)
544 544  
545   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg"))
  545 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png"))
546 546 bitmap = wx.Bitmap(image.Scale(16, 16))
547 547 bitmap.SetWidth(16)
548 548 bitmap.SetHeight(16)
549 549 img_null = self.imagelist.Add(bitmap)
550 550  
551   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg"))
  551 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png"))
552 552 bitmap = wx.Bitmap(image.Scale(16, 16))
553 553 bitmap.SetWidth(16)
554 554 bitmap.SetHeight(16)
... ... @@ -556,7 +556,7 @@ class MasksListCtrlPanel(InvListCtrl):
556 556  
557 557 self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL)
558 558  
559   - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg"))
  559 + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png"))
560 560  
561 561 def OnEditLabel(self, evt):
562 562 if not evt.IsEditCancelled():
... ... @@ -872,13 +872,13 @@ class SurfacesListCtrlPanel(InvListCtrl):
872 872 def __init_image_list(self):
873 873 self.imagelist = wx.ImageList(16, 16)
874 874  
875   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg"))
  875 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png"))
876 876 bitmap = wx.Bitmap(image.Scale(16, 16))
877 877 bitmap.SetWidth(16)
878 878 bitmap.SetHeight(16)
879 879 img_null = self.imagelist.Add(bitmap)
880 880  
881   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg"))
  881 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png"))
882 882 bitmap = wx.Bitmap(image.Scale(16, 16))
883 883 bitmap.SetWidth(16)
884 884 bitmap.SetHeight(16)
... ... @@ -886,7 +886,7 @@ class SurfacesListCtrlPanel(InvListCtrl):
886 886  
887 887 self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL)
888 888  
889   - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg"))
  889 + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png"))
890 890  
891 891 def OnBeginLabelEdit(self, evt):
892 892 if evt.GetColumn() == 1:
... ... @@ -1113,13 +1113,13 @@ class MeasuresListCtrlPanel(InvListCtrl):
1113 1113 def __init_image_list(self):
1114 1114 self.imagelist = wx.ImageList(16, 16)
1115 1115  
1116   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg"))
  1116 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png"))
1117 1117 bitmap = wx.Bitmap(image.Scale(16, 16))
1118 1118 bitmap.SetWidth(16)
1119 1119 bitmap.SetHeight(16)
1120 1120 img_null = self.imagelist.Add(bitmap)
1121 1121  
1122   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg"))
  1122 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png"))
1123 1123 bitmap = wx.Bitmap(image.Scale(16, 16))
1124 1124 bitmap.SetWidth(16)
1125 1125 bitmap.SetHeight(16)
... ... @@ -1127,7 +1127,7 @@ class MeasuresListCtrlPanel(InvListCtrl):
1127 1127  
1128 1128 self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL)
1129 1129  
1130   - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg"))
  1130 + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png"))
1131 1131  
1132 1132 def OnBeginLabelEdit(self, evt):
1133 1133 if evt.GetColumn() == 1:
... ... @@ -1278,19 +1278,19 @@ class AnnotationsListCtrlPanel(wx.ListCtrl):
1278 1278 def __init_image_list(self):
1279 1279 self.imagelist = wx.ImageList(16, 16)
1280 1280  
1281   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg"))
  1281 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png"))
1282 1282 bitmap = wx.Bitmap(image.Scale(16, 16))
1283 1283 bitmap.SetWidth(16)
1284 1284 bitmap.SetHeight(16)
1285 1285 img_check = self.imagelist.Add(bitmap)
1286 1286  
1287   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg"))
  1287 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png"))
1288 1288 bitmap = wx.Bitmap(image.Scale(16, 16))
1289 1289 bitmap.SetWidth(16)
1290 1290 bitmap.SetHeight(16)
1291 1291 img_null = self.imagelist.Add(bitmap)
1292 1292  
1293   - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg"))
  1293 + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_colour.png"))
1294 1294 bitmap = wx.Bitmap(image.Scale(16, 16))
1295 1295 bitmap.SetWidth(16)
1296 1296 bitmap.SetHeight(16)
... ...
invesalius/gui/frame.py
... ... @@ -1943,11 +1943,11 @@ class LayoutToolBar(AuiToolBar):
1943 1943 d = inv_paths.ICON_DIR
1944 1944 if sys.platform == 'darwin':
1945 1945 # Bitmaps for show/hide task panel item
1946   - p = os.path.join(d, "layout_data_only_original.gif")
1947   - self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF)
  1946 + p = os.path.join(d, "layout_data_only_original.png")
  1947 + self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG)
1948 1948  
1949   - p = os.path.join(d, "layout_full_original.gif")
1950   - self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF)
  1949 + p = os.path.join(d, "layout_full_original.png")
  1950 + self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG)
1951 1951  
1952 1952 # Bitmaps for show/hide task item
1953 1953 p = os.path.join(d, "text_inverted_original.png")
... ... @@ -1958,11 +1958,11 @@ class LayoutToolBar(AuiToolBar):
1958 1958  
1959 1959 else:
1960 1960 # Bitmaps for show/hide task panel item
1961   - p = os.path.join(d, "layout_data_only.gif")
1962   - self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF)
  1961 + p = os.path.join(d, "layout_data_only.png")
  1962 + self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG)
1963 1963  
1964   - p = os.path.join(d, "layout_full.gif")
1965   - self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF)
  1964 + p = os.path.join(d, "layout_full.png")
  1965 + self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG)
1966 1966  
1967 1967 # Bitmaps for show/hide task item
1968 1968 p = os.path.join(d, "text_inverted.png")
... ...
invesalius/gui/language_dialog.py
... ... @@ -71,8 +71,8 @@ class ComboBoxLanguage:
71 71 self.bitmapCmb = bitmapCmb = BitmapComboBox(parent, style=wx.CB_READONLY)
72 72 for key in self.locales_key:
73 73 # Based on composed flag filename, get bitmap
74   - filepath = os.path.join(ICON_DIR, "%s.bmp"%(key))
75   - bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_BMP)
  74 + filepath = os.path.join(ICON_DIR, "%s.png" % (key))
  75 + bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_PNG)
76 76 # Add bitmap and info to Combo
77 77 bitmapCmb.Append(dict_locales[key], bmp, key)
78 78 # Set default combo item if available on the list
... ... @@ -123,8 +123,8 @@ class LanguageDialog(wx.Dialog):
123 123 # self.bitmapCmb = bitmapCmb = BitmapComboBox(self, style=wx.CB_READONLY)
124 124 # for key in self.locales_key:
125 125 # # Based on composed flag filename, get bitmap
126   - # filepath = os.path.join(ICON_DIR, "%s.bmp"%(key))
127   - # bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_BMP)
  126 + # filepath = os.path.join(ICON_DIR, "%s.png"%(key))
  127 + # bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_PNG)
128 128 # # Add bitmap and info to Combo
129 129 # bitmapCmb.Append(dict_locales[key], bmp, key)
130 130 # # Set default combo item if available on the list
... ...
invesalius/gui/task_slice.py
... ... @@ -689,11 +689,11 @@ class EditionTools(wx.Panel):
689 689 ## LINE 2
690 690 menu = wx.Menu()
691 691  
692   - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG)
  692 + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG)
693 693 item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle"))
694 694 item.SetBitmap(CIRCLE_BMP)
695 695  
696   - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG)
  696 + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG)
697 697 item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square"))
698 698 item2.SetBitmap(SQUARE_BMP)
699 699  
... ... @@ -804,8 +804,8 @@ class EditionTools(wx.Panel):
804 804 threshold_range=(thresh_min, thresh_max))
805 805  
806 806 def OnMenu(self, evt):
807   - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG)
808   - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG)
  807 + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG)
  808 + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG)
809 809  
810 810 brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE,
811 811 MENU_BRUSH_SQUARE: const.BRUSH_SQUARE}
... ... @@ -853,11 +853,11 @@ class WatershedTool(EditionTools):
853 853 ## LINE 2
854 854 menu = wx.Menu()
855 855  
856   - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG)
  856 + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG)
857 857 item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle"))
858 858 item.SetBitmap(CIRCLE_BMP)
859 859  
860   - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG)
  860 + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG)
861 861 item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square"))
862 862 item2.SetBitmap(SQUARE_BMP)
863 863  
... ... @@ -974,8 +974,8 @@ class WatershedTool(EditionTools):
974 974 self.gradient_thresh.SetMaxValue(thresh_max)
975 975  
976 976 def OnMenu(self, evt):
977   - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG)
978   - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG)
  977 + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG)
  978 + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG)
979 979  
980 980 brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE,
981 981 MENU_BRUSH_SQUARE: const.BRUSH_SQUARE}
... ...
invesalius/gui/task_tools.py
... ... @@ -79,7 +79,7 @@ class InnerTaskPanel(wx.Panel):
79 79  
80 80 # Image(s) for buttons
81 81 BMP_ANNOTATE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "annotation.png"), wx.BITMAP_TYPE_PNG)
82   - BMP_ANGLE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_angle.jpg"), wx.BITMAP_TYPE_JPEG)
  82 + BMP_ANGLE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_angle.png"), wx.BITMAP_TYPE_PNG)
83 83 BMP_DISTANCE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_line.png"), wx.BITMAP_TYPE_PNG)
84 84 BMP_ANNOTATE.SetWidth(25)
85 85 BMP_ANNOTATE.SetHeight(25)
... ...