For images from CQCRepo, everything is fine with the resulting ImgStart.
Now for a Media Browser (MyMovies repository), about one third of the .jpg are being rebuilt, the others are returning null. Looking at the byte array, a working image will end with byte -39. For one image that can't be reconstructed, the last valid byte (1459) was a -76 and the rest was padded with 0 up to byte number 4732... It's unclear if the c4ImgBytes was wrong and I just read some null passed the buffer or if the null were indeed added on the server side...
EDIT: OK, the -76 is not significant, as the other files are cutting at different values, and trimming the file to end with the -76 doesn't make a valid image either.
Now for a Media Browser (MyMovies repository), about one third of the .jpg are being rebuilt, the others are returning null. Looking at the byte array, a working image will end with byte -39. For one image that can't be reconstructed, the last valid byte (1459) was a -76 and the rest was padded with 0 up to byte number 4732... It's unclear if the c4ImgBytes was wrong and I just read some null passed the buffer or if the null were indeed added on the server side...
EDIT: OK, the -76 is not significant, as the other files are cutting at different values, and trimming the file to end with the -76 doesn't make a valid image either.
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.