Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jvv  
#1 Posted : Thursday, January 06, 2005 8:24:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

When I'm using the .NET version of the Graphicsmill control, zooming is very slow... Even in low quality mode.
The tiff image is 8000x6000 pixels. With Imaging Professional zooming is directly done. But with GraphicsMill it's about 4 minutes(!!!) before my zoom action is completed.

The code I'm using to zoom is:
Code:
BitmapViewer.Zoom = (BitmapViewer.Width - 20) / BitmapViewer.Bitmap.Width


The code running is done in about 2 seconds, but the viewer refreshes after 4 minutes (in the meanwhile, my application is using lots of memory)...
Maybe it's a memory leak...

Edited by user Monday, December 24, 2007 4:22:08 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Friday, January 07, 2005 1:09:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Hello,

Can you submit case with your image and code snippet and we will check it.

BTW, to fit image to width instead of following code:
Code:
BitmapViewer.Zoom = (BitmapViewer.Width - 20) / BitmapViewer.Bitmap.Width

you can use:
Code:
BitmapViewer.ZoomMode = ZoomMode.FitToWidth


Edited by user Friday, May 23, 2008 3:46:13 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
jvv  
#3 Posted : Friday, January 07, 2005 8:35:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

I'm sorry... but the images are scanned images from our customers... We can't send them...
I can create a tiff by myself and look if zooming is slow and send you that image...

The code I used voor zooming worked only with GraphicsMill 2... I re-used that code...
But I can use your code as well...
Fedor  
#4 Posted : Friday, January 07, 2005 8:47:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
I can create a tiff by myself and look if zooming is slow and send you that image...

Thank you, please try. We highly appreciate it.

BTW, final version of Graphics Mill 3.0 for .NET has some speed optimizations. It will be available on next week.
Best regards,
Fedor Skvortsov
jvv  
#5 Posted : Friday, January 07, 2005 8:56:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

Looking forward to the final version :)
jvv  
#6 Posted : Tuesday, January 11, 2005 4:50:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

I just mailed you an example...

Maybe it's a memory leak... The viewer uses sometimes more than 400 mb...
Fedor  
#7 Posted : Tuesday, January 11, 2005 5:02:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Thank you, we have got your email. We will check and let you know.
Best regards,
Fedor Skvortsov
Fedor  
#8 Posted : Tuesday, January 11, 2005 5:12:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
We tested final version of Graphics Mill with your image, and it works perfectly. Bitmap Viewer resizes image instantly and application doesn't take more then 50 mb in memory.

Final version of Graphics Mill will be available tomorrow. Please test you code with it and let us know whether problem still exists.
Best regards,
Fedor Skvortsov
jvv  
#9 Posted : Tuesday, January 11, 2005 5:18:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

I will test it again tomorrow.
If there still are any problems, I'll post it on this forum...
jvv  
#10 Posted : Thursday, January 13, 2005 5:19:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

I still don't see any final version...
Fedor  
#11 Posted : Thursday, January 13, 2005 5:36:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
It will be available today in the evening.
Best regards,
Fedor Skvortsov
jvv  
#12 Posted : Tuesday, January 18, 2005 2:56:00 PM(UTC)
jvv

Rank: Member

Groups: Member
Joined: 10/14/2004(UTC)
Posts: 37

Still no final version :(

Fedor  
#13 Posted : Thursday, January 20, 2005 6:41:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Hello,

It will be available finally tomorrow.
Best regards,
Fedor Skvortsov
Fedor  
#14 Posted : Monday, January 24, 2005 6:07:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Final version is release at least. You can download it here:

http://www.aurigma.com/Products/DownloadFile.aspx?ID=53
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.