Ignore:
Timestamp:
2010-03-09T22:02:00+01:00 (15 years ago)
Author:
pieren
Message:

Many small fixes and improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/VectorImageModifier.java

    r20247 r20390  
    1818    private int backgroundPixel = 0;
    1919
    20     public VectorImageModifier(BufferedImage bi) {
     20    public VectorImageModifier() {super();}
     21   
     22    public VectorImageModifier(BufferedImage bi, boolean monocolor) {
    2123        bufferedImage = bi;
    2224        if (Main.pref.getBoolean("cadastrewms.backgroundTransparent"))
     
    2628        if (Main.pref.getBoolean("cadastrewms.invertGrey"))
    2729            invertGrey();
    28         //bufferedImage = convert8(convert1(bufferedImage));
     30        if (monocolor)
     31            bufferedImage = convert8(convert4(bufferedImage));
    2932    }
    3033
Note: See TracChangeset for help on using the changeset viewer.