[Solved] Thumbnail creation issue with images

Hi,
I am having issues with thumbnail creation. I have Serviio 1.5 installed on Ubuntu 14.10. Java version is javac 1.8.0_40-internal from openjdk-8 package.
When I am adding camera photo (.jpg) to library, serviio has resize issues. (See log). same issue if I try to create thumbnails from .mpg files.
The original photo can be viewed from Samsung TV.
I was reading about similar issue which was caused by lack of memory, from this forum, and I increased max memory allocation to -Xmx1024M with no help just in case without effect.
I'm a but unsure where I should go from here to investigate and fix the issue.
Thanks
I am having issues with thumbnail creation. I have Serviio 1.5 installed on Ubuntu 14.10. Java version is javac 1.8.0_40-internal from openjdk-8 package.
When I am adding camera photo (.jpg) to library, serviio has resize issues. (See log). same issue if I try to create thumbnails from .mpg files.
The original photo can be viewed from Samsung TV.
I was reading about similar issue which was caused by lack of memory, from this forum, and I increased max memory allocation to -Xmx1024M with no help just in case without effect.
I'm a but unsure where I should go from here to investigate and fix the issue.
Thanks