 IE9 has a feature that lets you render a page as an older browser, but I'm not sure if you can use that feature using the WebBrowser control.
<issue_start><issue_comment>Title: 请问 有直接处理图片色阶的方法么
username_0: 比如 需要设置参数分别为 72 1 245
<issue_comment>username_0: @username_1 可以给个使用的demo么
<issue_comment>username_1: 我增加了HSBAdjustFilterTest代码,你看下,满足需求不
<issue_comment>username_0: @username_1 你好  我试了试 不晓得怎么设置参数能达到我要的效果,不过我写了一个代码来实现这个,就是不晓得用你的这个工程如何设置
```
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

public class Main {
    private static final int min = 62;
    private static final int max = 245;
    private static final float p = 255.0f / (max - min);

    public static void main(String[] args) throws IOException {
        BufferedImage bufferedImage = ImageIO.read(new File("src/11.jpg"));
        for (int i = 0; i < bufferedImage.getWidth(); i++) {
            for (int j = 0; j < bufferedImage.getHeight(); j++) {
                Color color = new Color(bufferedImage.getRGB(i, j));
                color = new Color(trans(color.getRed()), trans(color.getGreen()), trans(color.getBlue()));
                bufferedImage.setRGB(i, j, color.getRGB());
            }
        }
        ImageIO.write(bufferedImage, "jpg", new File("src/22.jpg"));
    }

    private static int trans(int i) {
        i -= min;
        i = i < 0? 0 : i;
        i = (int) (i * p + 0.5);
        return i > 255? 255 : i;
    }
}

```
<issue_comment>username_1: 我把你的代码改下结构, 代码如下

```javva
public class MyFilter extends AbstractBufferedImageOp {
	
	private static final int min = 62;
	private static final int max = 245;
	private static final float p = 255.0f / (max - min);

	@Override
	public BufferedImage filter(BufferedImage src, BufferedImage dest) {
		if ( dest == null ) {
            ColorModel dstCM = src.getColorModel();
            dest = new BufferedImage(dstCM, dstCM.createCompatibleWritableRaster(src.getWidth(), src.getHeight()), dstCM.isAlphaPremultiplied(), null);
		}
		
		for (int i = 0; i < dest.getWidth(); i++) {
            for (int j = 0; j < dest.getHeight(); j++) {
                Color color = new Color(dest.getRGB(i, j));
                color = new Color(trans(color.getRed()), trans(color.getGreen()), trans(color.getBlue()));
                dest.setRGB(i, j, color.getRGB());
            }
        }
		return dest;
	}

	private static int trans(int i) {
		i -= min;
		i = i < 0? 0 : i;
		i = (int) (i * p + 0.5);
		return i > 255? 255 : i;
	}
}
```

调用方式:

``` java
MyFilter myFilter = new MyFilter ();
ImageKit.read(file).doFilter(myFilter).transferTo("d:/test2.jpg");
```
<issue_comment>username_0:![image](https://user-images.githubusercontent.com/1396322/41209109-dd15b3ec-6d5b-11e8-855c-c8a9ed5d5267.png)
@username_1 我用这个图片测试 保存后的图片是一个全黑色的图片 没有原图片中的人物了
<issue_comment>username_1: 不好意思...发现图片实际是png格式的.修改了下代码

```java
import com.xice7.image.filter.PointFilter;

public class MyFilter extends PointFilter {

	private static final int min = 62;
	private static final int max = 245;
	private static final float p = 255.0f / (max - min);

	@Override
	public int filterRGB(int x, int y, int rgb) {
		return  ((255 & 0xFF) << 24) |
                ((trans((rgb >> 16) & 0xff) & 0xFF) << 16) |
                ((trans((rgb >> 8) & 0xff) & 0xFF) << 8)  |
                ((trans(rgb & 0xff) & 0xFF) << 0);
	}

	private static int trans(int i) {
		i -= min;
		i = i < 0? 0 : i;
		i = (int) (i * p + 0.5);
		return i > 255? 255 : i;
	}
}
```

测试代码

```java
MyFilter filter = new MyFilter();
ImageKit.read(new File("d:/10.jpg")).doFilter(filter).transferTo("d:/1.jpg", ImageType.JPG);
```

`后来发现, 图片是实际是png格式的, 保存的时候要保存成jpg成有效, 所以一定要设置ImageType.JPG`
<issue_comment>username_1: @username_0  另外使用`HSBAdjustFilter`这个滤镜也可以实现,并且可以处理png图片的透明度

```java
HSBAdjustFilter filter = new HSBAdjustFilter(0, 0.1, 0);
ImageKit.read(file).doFilter(filter).transferTo("d:/test.jpg", ImageType.JPG);
// ImageKit.read(file).doFilter(filter).transferTo("d:/test.png");
```
<issue_comment>username_0: @username_1 有加入maven的仓库的计划么?<issue_closed>On Sadhviji’s first day back in India, she addressed the India Society for Training and Development (ISTD) International Conclave on Happiness and Spirituality in the Workplace. The program took place in Dehradun at Graphics Era Deemed University.
Sadhviji shared with the assembled students that they are the future of the nation, and the future of the world, and encouraged them to find ways to work differently to find ways and solutions that promoted joy and happiness in the workplace. After all, if we’re going to spend 66% of our lifetime in the workplace, we might was well be joyous and happy!
In the inauguration, it was a pleasure and honor for Sadhviji to be with Mr. Erik Af Hallstrom, Deputy Charge D’Affaires, Embassy of Finland to India, Prof (Dr.) Kamal Ghanshala, Founder & Chairman, Graphics Era Group of Institutes, Dr. Natraj Ray, President ISTD, Dr. A.C. Joshi, Shri Akhilesh Argal, CEO Raj Anand Sansthan, Madhya Pradesh, Prof. Sanjay Jasola, Vice-Chancellor, Graphic Era Hill University, Mr. Vijay Goel, Director THDC India Limited for the Inaugural Session followed by a detailed discussion and question-answer session. Sadhviji also presented beautiful Rudraksha saplings to the distinguished guests for plantations in their hometowns.Q: List of tables, db schema, dump etc using the Python sqlite3 API For some reason I can't find a way to get the equivalents of sqlite's interactive shell commands:
.tables
.dump

using the Python sqlite3 API. 
Is there anything like that?

A: The FASTEST way of doing this in python is using Pandas (version 0.16 and up).
Dump one table:
db = sqlite3.connect('database.db')
table