Skip to content

Commit d2d5f2a

Browse files
authored
Merge pull request #9 from umjammer/1.0.9
github rejected me many times, so i can fix many times
2 parents 0705e89 + fe62a09 commit d2d5f2a

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Packages (only instrumentals)
1+
name: GitHub Packages (only ffmpeg)
22

33
on:
44
release:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[![Release](https://jitpack.io/v/umjammer/vavi-image.svg)](https://jitpack.io/#umjammer/vavi-image)
2+
[![CodeQL](https://github.com/umjammer/vavi-image/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/umjammer/vavi-image/actions/workflows/codeql-analysis.yml)
3+
[![GitHub Packages (only ffmpeg)](https://github.com/umjammer/vavi-image/actions/workflows/maven-publish.yml/badge.svg)](https://github.com/umjammer/vavi-image/actions/workflows/maven-publish.yml)
24

35
# vavi-image
46

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<repository>
2626
<id>github</id>
2727
<name>GitHub umjammer Apache Maven Packages</name>
28-
<url>https://maven.pkg.github.com/umjammer/vavi-image-ffmpeg</url>
28+
<url>https://maven.pkg.github.com/umjammer/vavi-image</url>
2929
</repository>
3030
</distributionManagement>
3131

@@ -168,7 +168,7 @@
168168
<argument>-Dversion=${project.version}</argument>
169169
<argument>-Dpackaging=dylib</argument>
170170
<argument>-Dfile=${project.build.directory}/libFFmpegWrapper-${project.version}.dylib</argument>
171-
<argument>-Durl=https://maven.pkg.github.com/umjammer/vavi-image-ffmpeg</argument>
171+
<argument>-Durl=https://maven.pkg.github.com/umjammer/vavi-image</argument>
172172
<argument>-s</argument>
173173
<argument>${env.GITHUB_WORKSPACE}/settings.xml</argument>
174174
</arguments>

src/test/java/vavi/awt/image/resample/FfmpegResampleOpTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public class FfmpegResampleOpTest {
2828
public void test01() throws Exception {
2929
BufferedImage image = ImageIO.read(FfmpegResampleOpTest.class.getResourceAsStream(file));
3030
System.err.println(image);
31-
for (float y = 1; y > 0; y -= 0.05) {
32-
for (float x = 1; x > 0; x -= 0.05) {
31+
for (float y = 1f; y > 0f; y -= 0.05f) {
32+
for (float x = 1f; x > 0f; x -= 0.05f) {
3333
System.err.printf("%1.2f, %1.2f\n", x, y);
3434
BufferedImageOp filter = new FfmpegResampleOp(x, y);
3535
filter.filter(image, null);
@@ -41,8 +41,8 @@ public void test01() throws Exception {
4141
public void test02() throws Exception {
4242
BufferedImage image = ImageIO.read(FfmpegResampleOpTest.class.getResourceAsStream(file));
4343
System.err.println(image);
44-
for (float y = 1; y < 2; y += 0.1) {
45-
for (float x = 1; x < 2; x += 0.1) {
44+
for (float y = 1f; y < 2f; y += 0.1f) {
45+
for (float x = 1f; x < 2f; x += 0.1f) {
4646
System.err.printf("%1.2f, %1.2f\n", x, y);
4747
BufferedImageOp filter = new FfmpegResampleOp(x, y);
4848
filter.filter(image, null);

0 commit comments

Comments
 (0)