This is a migrated thread and some comments may be shown as answers.

Thumbnailer creates BMPs

3 Answers 67 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Caleb
Top achievements
Rank 1
Caleb asked on 27 Apr 2009, 07:39 PM
I've posted about this before and doing a search of the forum reveals other people having this problem, but nobody has any solutions.

When using the thumbnailer to create a thumbnail, the image it creates is of the bitmap format. Because bitmaps are uncompressed, the resulting thumbnails while smaller in dimensions are often larger in file size.

At first I thought this problem was simply due to a particular image I was using, but so far every JPEG that I've thumbnailed using RadEditor ends up as a bitmap file. Adding to the confusion, the thumbnail is saved to the document library with a .jpg extension, but the actual file format used is bitmap. This can be seen by right clicking the image in Firefox and selecting properties, which reveals the "Type" of the image to be "BMP image". I also saved the image to my desktop and opened it with Notepad++  and confirmed the file signature (BMP files begin with the letters "BM").

Upon further testing, the same problem happens to PNG files and also GIFs. They are saved as BMP files but the original extension is maintained.

Here are some links to the original files and then thumbnails created using RadEditor:
Original JPEG: http://gfsmesh.com/store/images/j0437274.jpg
Thumbnail (which is a BMP): http://gfsmesh.com/store/images/j0437274Medium.jpg
Original 32 bit PNG (has alpha transparency): http://gfsmesh.com/store/images/homepage-callout-frame.png
Thumbnail (is a BMP, note the black where transparency was): http://gfsmesh.com/store/images/homepage-callout-frameThumbnail.png

As for the server configuration:
Windows SharePoint Services running across 2 web front ends and 1 database server. The servers have all of the .NET frameworks through 3.5 installed and are up to date with the latest patches. The SharePoint installation has a variety of customizations, but they're mostly visual. Nothing I can think of that would have anything to do with code at the level RadEditor runs. The currently installed version of RadEditor for MOSS is 4.5.4.

If there is any other information I can provide to help solve this problem, please let me know.

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 29 Apr 2009, 12:06 PM
Hello Caleb,

Unfortunately the functionality of creating the image is based on the .NET framework. I used your provided image in our test server but I was not able to reproduce the problem. What you should know is that in the latest version of RadEditor for MOSS which is 5.4.0 the thumbnail functionality of the Images dialog is replaced with entire editing dialog, where you can modify the dimensions and opacity of the image. You can flip, rotate, crop the image as well.

You can install the Trial version and check if the problem will persist. There is Information on upgrading from version 4.x to version 5.x in the following help article http://www.telerik.com/help/aspnet-ajax/upgrade-instructions-from-v4-to-v5.html.

Kind regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Caleb
Top achievements
Rank 1
answered on 30 Apr 2009, 04:55 PM
Thanks Stanimir. Is there any way you could tell me which classes in the .NET framework RadEditor for MOSS Lite uses? I really need to fix this problem and if I knew the classes / routines being used, I could write small test programs in an attempt to isolate the problem with my installed frameworks.
0
Stanimir
Telerik team
answered on 07 May 2009, 09:05 AM
Hi Caleb,

Could you please open a formal support ticket and I will send you the required code there? Just add reference to this forum thread (ID is 208379).

Thank you.


Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
Caleb
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Caleb
Top achievements
Rank 1
Share this question
or