| Time |
S |
Nick |
Message |
| 01:18 |
|
|
sfisque joined ##friendlyjava |
| 03:40 |
|
|
mr_lou joined ##friendlyjava |
| 04:29 |
|
|
foobarn1 joined ##friendlyjava |
| 04:30 |
|
|
sfisque joined ##friendlyjava |
| 07:14 |
|
|
HEGX64 joined ##friendlyjava |
| 07:17 |
|
|
abba joined ##friendlyjava |
| 07:31 |
|
|
HEGX64 joined ##friendlyjava |
| 07:33 |
|
|
abba joined ##friendlyjava |
| 08:10 |
|
|
HEGX64 joined ##friendlyjava |
| 15:52 |
|
|
sfisque joined ##friendlyjava |
| 16:14 |
|
|
bluezone joined ##friendlyjava |
| 16:18 |
|
|
gitarista2 joined ##friendlyjava |
| 18:05 |
|
aditsu |
hey, does anyone know if a JavaFX Image can be saved to file without converting it to a BufferedImage first? |
| 18:08 |
|
sfisque |
depends. are you just serializing it or are you exporting it out to a standard file format like jpeg or png? |
| 18:11 |
|
aditsu |
jpeg/png |
| 18:15 |
|
sfisque |
you will probabily need to convert to BI and then funnel through the imageio api |
| 18:17 |
|
sfisque |
searchbot google javafx image save to file jpeg |
| 18:17 |
|
sfisque |
searchbot` google javafx image save to file jpeg |
| 18:17 |
|
searchbot` |
sfisque: save - Image saved in JavaFX as jpg is pink toned - Stack Overflow: <http://stackoverflow.com/questions/19548363/image-saved-in-javafx-as-jpg-is-pink-toned>; java - Getting Black Image when saving a JavaFX snapshot - Stack ...: <http://stackoverflow.com/questions/31909297/getting-black-image-when-saving-a-javafx-snapshot>; Which Image Formats does JavaFX Support? - Stack Overflow: (2 more messages) |
| 18:17 |
|
sfisque |
third link looks promising |
| 18:18 |
|
aditsu |
I guess it does, but there are only 2 links :p |
| 18:18 |
|
sfisque |
sorrty, second link |
| 18:18 |
|
aditsu |
anyway, I've already seen some of those things |
| 18:20 |
|
aditsu |
do you know any article that compares the 2 image classes? like pros and cons, features, performance, etc? |
| 18:22 |
|
aditsu |
e.g. BufferedImage has an issue that if you want to resize it smoothly, making it significantly smaller, it's pretty slow to do it directly; faster to scale it to half until you get close to the desired size |
| 18:25 |
|
aditsu |
https://blog.nobel-joergensen.com/2008/12/20/downscaling-images-in-java/ |
| 18:46 |
|
aditsu |
I guess I'll go with javafx images (it's a javafx application but might use some Swing code) and just make it work first, and worry later about optimization :p |
| 18:57 |
|
aditsu |
ugh, it's harder to find code examples |
| 19:06 |
|
aditsu |
sfisque: how do you even resize a javafx image?! |
| 19:13 |
|
aditsu |
I'll ask on SO.. |
| 19:17 |
|
|
gitarista2 joined ##friendlyjava |
| 20:18 |
|
|
gitarista2 joined ##friendlyjava |
| 21:01 |
|
|
gitarista2 joined ##friendlyjava |
| 22:46 |
|
|
sfisque joined ##friendlyjava |