Fix local file path reference being incorrect

master
Joshua Sigona 5 years ago
parent 039a46492e
commit d0088af983
  1. BIN
      image.png
  2. 4
      src/main/java/com/example/demo/Controller.java
  3. 10
      tmp/combo/0.txt
  4. BIN
      tmp/combo/0_0.png
  5. BIN
      tmp/combo/0_1.png
  6. BIN
      tmp/combo/0_2.png
  7. BIN
      tmp/combo/0_3.png
  8. BIN
      tmp/combo/0_4.png
  9. BIN
      tmp/combo/0_5.png
  10. BIN
      tmp/combo/0_6.png
  11. BIN
      tmp/combo/0_7.png
  12. BIN
      tmp/combo/0_8.png
  13. BIN
      tmp/combo/0_9.png
  14. 10
      tmp/combo/1.txt
  15. BIN
      tmp/combo/1_0.png
  16. BIN
      tmp/combo/1_1.png
  17. BIN
      tmp/combo/1_2.png
  18. BIN
      tmp/combo/1_3.png
  19. BIN
      tmp/combo/1_4.png
  20. BIN
      tmp/combo/1_5.png
  21. BIN
      tmp/combo/1_6.png
  22. BIN
      tmp/combo/1_7.png
  23. BIN
      tmp/combo/1_8.png
  24. BIN
      tmp/combo/1_9.png
  25. 10
      tmp/combo/2.txt
  26. BIN
      tmp/combo/2_0.png
  27. BIN
      tmp/combo/2_1.png
  28. BIN
      tmp/combo/2_2.png
  29. BIN
      tmp/combo/2_3.png
  30. BIN
      tmp/combo/2_4.png
  31. BIN
      tmp/combo/2_5.png
  32. BIN
      tmp/combo/2_6.png
  33. BIN
      tmp/combo/2_7.png
  34. BIN
      tmp/combo/2_8.png
  35. BIN
      tmp/combo/2_9.png
  36. BIN
      tmp/combo/img.png
  37. 10
      tmp/cool/0.txt
  38. BIN
      tmp/cool/0_0.png
  39. BIN
      tmp/cool/0_1.png
  40. BIN
      tmp/cool/0_2.png
  41. BIN
      tmp/cool/0_3.png
  42. BIN
      tmp/cool/0_4.png
  43. BIN
      tmp/cool/0_5.png
  44. BIN
      tmp/cool/0_6.png
  45. BIN
      tmp/cool/0_7.png
  46. BIN
      tmp/cool/0_8.png
  47. BIN
      tmp/cool/0_9.png
  48. 10
      tmp/cool/1.txt
  49. BIN
      tmp/cool/1_0.png
  50. BIN
      tmp/cool/1_1.png
  51. BIN
      tmp/cool/1_2.png
  52. BIN
      tmp/cool/1_3.png
  53. BIN
      tmp/cool/1_4.png
  54. BIN
      tmp/cool/1_5.png
  55. BIN
      tmp/cool/1_6.png
  56. BIN
      tmp/cool/1_7.png
  57. BIN
      tmp/cool/1_8.png
  58. BIN
      tmp/cool/1_9.png
  59. 10
      tmp/cool/2.txt
  60. BIN
      tmp/cool/2_0.png
  61. BIN
      tmp/cool/2_1.png
  62. BIN
      tmp/cool/2_2.png
  63. BIN
      tmp/cool/2_3.png
  64. BIN
      tmp/cool/2_4.png
  65. BIN
      tmp/cool/2_5.png
  66. BIN
      tmp/cool/2_6.png
  67. BIN
      tmp/cool/2_7.png
  68. BIN
      tmp/cool/2_8.png
  69. BIN
      tmp/cool/2_9.png
  70. BIN
      tmp/cool/img.png
  71. 10
      tmp/fine/0.txt
  72. BIN
      tmp/fine/0_0.png
  73. BIN
      tmp/fine/0_1.png
  74. BIN
      tmp/fine/0_2.png
  75. BIN
      tmp/fine/0_3.png
  76. BIN
      tmp/fine/0_4.png
  77. BIN
      tmp/fine/0_5.png
  78. BIN
      tmp/fine/0_6.png
  79. BIN
      tmp/fine/0_7.png
  80. BIN
      tmp/fine/0_8.png
  81. BIN
      tmp/fine/0_9.png
  82. 10
      tmp/fine/1.txt
  83. BIN
      tmp/fine/1_0.png
  84. BIN
      tmp/fine/1_1.png
  85. BIN
      tmp/fine/1_2.png
  86. BIN
      tmp/fine/1_3.png
  87. BIN
      tmp/fine/1_4.png
  88. BIN
      tmp/fine/1_5.png
  89. BIN
      tmp/fine/1_6.png
  90. BIN
      tmp/fine/1_7.png
  91. BIN
      tmp/fine/1_8.png
  92. BIN
      tmp/fine/1_9.png
  93. BIN
      tmp/fine/img.png
  94. 10
      tmp/percent/0.txt
  95. BIN
      tmp/percent/0_0.png
  96. BIN
      tmp/percent/0_1.png
  97. BIN
      tmp/percent/0_2.png
  98. BIN
      tmp/percent/0_3.png
  99. BIN
      tmp/percent/0_4.png
  100. BIN
      tmp/percent/0_5.png
  101. Some files were not shown because too many files have changed in this diff Show More

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

@ -136,8 +136,8 @@ public class Controller {
System.out.println(url);
BufferedImage img = null;
if (url.contains("http://projectdivar.com/")) {
//System.out.println("Locally available.");
img = ImageIO.read(new File(url.replace("http://projectdivar.com/", "")));
System.out.println("Locally available. "+"./"+url.replace("http://projectdivar.com/", ""));
img = ImageIO.read(new File("./"+url.replace("http://projectdivar.com/", "")));
} else {
downloadFileFromUrl(url,"temp");
//BufferedImage img = ImageUtils.toBufferedImage(ImageIO.read(new File("temp")).getScaledInstance(1227, 690, Image.SCALE_SMOOTH));

@ -1,10 +0,0 @@
1:0.71484375
2:0.92578125
3:0.017578125
4:0.03125
5:0.0107421875
6:0.072265625
7:0.0078125
8:0.048828125
9:0.03125
0:0.072265625

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

@ -1,10 +0,0 @@
1:0.5
2:0.0078125
3:0.00390625
4:0.826171875
5:0.2373046875
6:0.052734375
7:0.00390625
8:0.052734375
9:0.1171875
0:0.0703125

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

@ -1,10 +0,0 @@
1:0.501953125
2:0.005859375
3:0.005859375
4:0.83984375
5:0.2294921875
6:0.044921875
7:0.041015625
8:0.044921875
9:0.1171875
0:0.0625

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

@ -1,10 +0,0 @@
1:0.53125
2:0.0078125
3:0.00390625
4:0.787109375
5:0.2353515625
6:0.0546875
7:0.00390625
8:0.0546875
9:0.111328125
0:0.07421875

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

@ -1,10 +0,0 @@
1:0.537109375
2:0.005859375
3:0.005859375
4:0.80859375
5:0.2314453125
6:0.048828125
7:0.001953125
8:0.048828125
9:0.119140625
0:0.06640625

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

@ -1,10 +0,0 @@
1:0.96484375
2:0.005859375
3:0.005859375
4:0.04296875
5:0.0166015625
6:0.7333984375
7:0.001953125
8:0.83203125
9:0.04296875
0:0.34765625

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 B

@ -1,10 +0,0 @@
1:0.705078125
2:0.046875
3:0.8671875
4:0.033203125
5:0.0693359375
6:0.037109375
7:0.0126953125
8:0.029296875
9:0.064453125
0:0.048828125

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

@ -1,10 +0,0 @@
1:0.72265625
2:0.05859375
3:0.865234375
4:0.03515625
5:0.0849609375
6:0.052734375
7:0.0087890625
8:0.044921875
9:0.068359375
0:0.064453125

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

@ -1,10 +0,0 @@
1:0.60546875
2:0.060546875
3:0.08203125
4:0.048828125
5:0.0390625
6:0.0390625
7:0.337890625
8:0.0439453125
9:0.0419921875
0:0.013671875

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save