473,473 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Increase Image Quality of Charts (CR.NET)

Hi There!

I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.

How do I increase the image quality of charts produced by Crystal Reports
..NET report file?

Many Thanks,
Don
Nov 18 '05 #1
8 2701
Image quality? I know the control has a zoom property that can be set at design time to have the report zoomed at a level of your choosing. Try that and see how it goes

"Don Wash" wrote:
Hi There!

I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.

How do I increase the image quality of charts produced by Crystal Reports
..NET report file?

Many Thanks,
Don

Nov 18 '05 #2
No, I mean currently it is rendered as JPG. I want to render as better JPG
quality or better image formats such as PNG.

Is that possible in Crystal Reports?

Don

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:77**********************************@microsof t.com...
Image quality? I know the control has a zoom property that can be set at design time to have the report zoomed at a level of your choosing. Try that
and see how it goes
"Don Wash" wrote:
Hi There!

I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.

How do I increase the image quality of charts produced by Crystal Reports ..NET report file?

Many Thanks,
Don

Nov 18 '05 #3
I doubt you can do this; but you probably can't do much with the version included with VS.NET anyways. So, you may have to visit thier website and see if other options are avaliable

"Don Wash" wrote:
No, I mean currently it is rendered as JPG. I want to render as better JPG
quality or better image formats such as PNG.

Is that possible in Crystal Reports?

Don

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:77**********************************@microsof t.com...
Image quality? I know the control has a zoom property that can be set at

design time to have the report zoomed at a level of your choosing. Try that
and see how it goes

"Don Wash" wrote:
Hi There!

I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.

How do I increase the image quality of charts produced by Crystal Reports ..NET report file?

Many Thanks,
Don


Nov 18 '05 #4

Aha ... I have a solution for this. :cool:

Crystal Reports .NET (the version bundled with Microsoft Visual Studi
.NET) has a number of features missing, but probably the most annoyin
is the low resolutions on charts and graphs.

It is possible to improve this however in *TWO WAYS!*

_DISCLAIMER_-_THIS_INVOLVES_EDITING_THE_REGISTRY._IT_IS_HIGHLY_ RECOMMENDED_THAT_YOU_BACKUP_YOUR_REGISTRY_BEFORE_M AKING_CHANGES!_I_DO_NOT_ACCEPT_ANY_LIABILITY_FOR_T HE_CONSEQUENCES_OF_ANYONE_MAKING_CHANGES_TO_THEIR_ REGISTRY_BASED_ON_THE_INSTRUCTIONS_IN_THIS_POST!

Firstly .. You need to add two Registry fixes.
Open the following .. Start --> Run --> regedit

Open the following Key:

HKEY_LOCAL_MACHINE -->
Software -->
Seagate Software -->
Crystal Reports -->
Export

Add a DWORD value called -BitMapMagnifDenominator-. Give it the valu
of _1_

Add a second DWORD value called -BitMapMagnifNumerator-.
The value you should give this, is the same as the factor by which yo
want to scale up the resolution of your charts.
For example, if you want 2x the quality .. enter a value of 2.
If you want 5x the quality .. enter a value of 5.
(I found that either 2 or 3 gave a good enough quality for 99% o
charting .. even at 400% zoom)

Once editing is done .. close regedit .. recompile (or reload) you
.NET application .. and fire up those reports! Let me know how it goe
.. and hopefully all will be good.

-NOTE - INCREASING THE RESOLUTION OF CHARTS THIS WAY WILL IMPACT YOU
PROGRAMS IN 2 WAYS. (1) THE IMAGE RESOLUTION BEING BIGGER WILL INCREAS
THE MEMORY REQUIREMENTS. GOING FROM X2 TO X3 INCREASED THE MEMORY USAG
OF A SMALL CRYSTAL REPORT VIEWER WINDOWS FORM APP BY OVER 15MB!. (2
THE IMAGE SIZES ARE ALSO LARGER FOR WEB FORMS .. SO YOUR CRYSTAL REPOR
PAGES ON ASP.NET PROJECTS WILL TAKE LONGER TO LOAD!
Secondly... If you are running ASP.NET web forms, then the Crysta
Engine will use the same desktop resolution on the web-server t
generate the reports. So if your desktop is running at 256 colour, the
the graphs, charts and images will be rendered in 256 colour. So .. mak
sure your ageing web-server's resolution is up to scratch
Soo .. thats it!

enjoy everyone

Lemme know how you get on! :D

Martiankeepe

--
MartiankeeperPosted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #5

*bump*

awwww c'mon .. it took me MONTHS to finally find this ... you can't b
telling me I was the only person using Visual Studio who couldn't wor
out how to increase CR.NET chart quality?

not a single comment?

:( *snif

--
MartiankeeperPosted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #6
Perhaps you should be asking Crystal Reports?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Martiankeeper" <Martiankeeper.1rbykm@> wrote in message
news:nt********************@giganews.com...

*bump*

awwww c'mon .. it took me MONTHS to finally find this ... you can't be
telling me I was the only person using Visual Studio who couldn't work
out how to increase CR.NET chart quality?

not a single comment?

:( *snif*
--
MartiankeeperPosted from http://www.pcreview.co.uk/ newsgroup access

Nov 19 '05 #7
OK, do you want a virtual pat on the head or on your back ?

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Martiankeeper" <Martiankeeper.1rbykm@> wrote in message
news:nt********************@giganews.com...

*bump*

awwww c'mon .. it took me MONTHS to finally find this ... you can't be
telling me I was the only person using Visual Studio who couldn't work
out how to increase CR.NET chart quality?

not a single comment?

:( *snif*
--
MartiankeeperPosted from http://www.pcreview.co.uk/ newsgroup access

Nov 19 '05 #8

Juan T. Llibre Wrote:
OK, do you want a virtual pat on the head or on your back ?

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================


hehe .. well .. either :)

But to be honest I was hoping I would get some feedback to see i
anyone else was having this problem. I used Crystal Report Write
Professional for years .. and when I came to CR.NET I was appalled a
the chart output quality ...

Now .. either there was something I missed (which makes me a complet
idiot, and award for "biggest newbie" wouldn't go amiss) ... or I ha
the same problem as everyone else (which means this post could b
immensely useful).

I have searched and searched and searched ... from all sorts of De
forums, the Business Objects (a.k.a. Crystal Reports) website
knowledgebase, forums and FAQ ...
finally (literally over 6 months after I first started looking) I foun
this little RegEdit gem ... and thought I'd share it ..

now .. has anyone even found this useful?

(thanks for the pat by the way .. appreciated ;) plsthxbye!

--
MartiankeeperPosted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Christophe Cerbourg | last post by:
Hi, I use GD library to generate images from photographs, approx this code : $image_dst = imagecreatetruecolor($this->image_dst_x, $this->image_dst_y); imagecopyresized($image_dst, $image_src, 0,...
6
by: Chris D | last post by:
Hi, I have an application where a user uploads an image and I create two thumbnails. One a small image and the second is a larger image but still smaller then the original. I store these in SQL...
1
by: Simon Peng | last post by:
I have a crystal report in asp.net. And there is a chart in report. But in IE, this chart is blur, How to improve the image quality? TIA
2
by: Kim Bach Petersen | last post by:
Using asp.net, I'm generating bitmaps, that I stream either as gif- og jpg-images (se code below). In both cases, the image-quality is rather poor: ...
1
by: John | last post by:
hi guys, i need reference or links that tell me how to save image and retrieve image in asp.net ... and the image will not disappear when i post the page back. thanks,
7
by: somequestion | last post by:
System.Drawing.Image newImage = Bitmap(....) newImage.Save(destinationPath, ImageFormat.Jpeg); this image resolution is very low i'd like to make high quality image so i change...
4
by: Liming | last post by:
Hi, I've managed to create a bitmap and output it via the httphandler by setting Response.ContentType="image/gif" the resulting GIF quality is REALLY bad. I searched around the web, the only...
0
by: s26f84 | last post by:
Hey guys, I am having heaps of trouble with image quality of toolbarbutton... it is simply shit... link for the image: <a href="http://img246.imageshack.us/my.php?image=winformlh2.jpg"...
8
by: JJ | last post by:
Whilst I am resizing images I am losing quality. This is only happening in small amounts, but if you repeatedly put the same image through the following code, the image quality slowly degrades. Can...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.