(int options)
| 122 | } |
| 123 | |
| 124 | static int getFill(int options) { |
| 125 | int fill = options&7; |
| 126 | if (fill==OLD_FILL_WHITE) |
| 127 | fill = FILL_WHITE; |
| 128 | if (fill==7||fill==6||fill==5) |
| 129 | fill = FILL_BLACK; |
| 130 | return fill; |
| 131 | } |
| 132 | |
| 133 | public static ImagePlus createByteImage(String title, int width, int height, int slices, int options) { |
| 134 | int fill = getFill(options); |
no outgoing calls
no test coverage detected