Image resize tests with different Java libs.