Changeset 15961 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java
- Timestamp:
- 2009-06-17T09:46:26+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java
r13784 r15961 18 18 public static final int cadastreBackground = -1; // white 19 19 20 public static final int cadastreBackgroundTransp = 1; // original white but transparent 20 public static final int cadastreBackgroundTransp = 1; // original white but transparent 21 21 22 22 public BufferedImage bufferedImage; … … 25 25 26 26 private int backgroundPixel = 0; 27 27 28 28 private int backgroundSampleX, backgroundSampleY; 29 29 … … 34 34 else if (Main.pref.getBoolean("cadastrewms.alterColors")) 35 35 replaceBackground(); 36 36 37 37 if (Main.pref.getBoolean("cadastrewms.invertGrey")) 38 38 invertGrey(); … … 59 59 } 60 60 } 61 61 62 62 /** 63 63 * Invert black/white/grey pixels (to change original black characters to white). … … 78 78 /** 79 79 * Reverse the grey value if the pixel is grey (light grey becomes dark grey) 80 * Used for texts. 80 * Used for texts. 81 81 * @param pixel 82 82 * @return
Note:
See TracChangeset
for help on using the changeset viewer.
