<html><body><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Hello everybody,</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Hello Jakob Sack,</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I think I found a minor issue within the carddav module.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I did some tests and it seems like a certain type of JPG-Images (RGB-color-space, which uses grayscale only) crash the WebUI and carddav sync.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Those images don't seem to be common, so the detailed description is attached below.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Kind regards</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">dal</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">_____</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">The whole card won't render and he UI seems like it's loading, and loading, and loading,... until it (at least the ajax-elements) freezes. This effect is browser-independant.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Syncing to an Android-device (using the dmfs CardDav-Adapter) didn't work either.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Once I removed the profile-images from the not working cards everything went back to normal!</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I've exported working and nonworking vcards, which always resulted in files (including the base64-encoded images) below 25 kb; the working vcards were the bigger ones.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">So I guess the described behaviour can't be pinned to filesizes and certain limitations.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">The (manually) decoded base64-image of the non working card has the resolution 200x200, 72dpi, RGB-color-space (though only grayscale was used), and takes 16 KB.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I recognized, that working images had in common, that they make proper use of the given color-spaces.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Grayscale PNG as source (</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><a href="http://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png">http://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png</a></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">) works.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Grayscale JPG, Gray-color-space (</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><a href="http://upload.wikimedia.org/wikipedia/de/thumb/6/6b/Curie-im-Labor.jpg/220px-Curie-im-Labor.jpg">http://upload.wikimedia.org/wikipedia/de/thumb/6/6b/Curie-im-Labor.jpg/220px-Curie-im-Labor.jpg</a></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">) works.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Grayscale JPG, RGB-color-space (a cropped version of</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><a href="http://www.maclife.de/files/data/users/23999/Wallpapers-room_com___Tiles_Mac_Rounded_Grayscale_by_yc_1920x1200%20Kopie.jpg">http://www.maclife.de/files/data/users/23999/Wallpapers-room_com___Tiles_Mac_Rounded_Grayscale_by_yc_1920x1200%20Kopie.jpg</a></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">) won't work.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I've successfully opend those images in the browser directly to verify, whether it's a browser/renderkit issue, or not.</span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Overall I was using Lighttp, PHP5, SQLight and the gitorious ownCloud-Version (ownCloud 3 alpha 1).</span></div></body></html>