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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 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
|
|
|
|
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...
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 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
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/14/2004(UTC) Posts: 37
|
Looking forward to the final version :)
|
|
|
|
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...
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Thank you, we have got your email. We will check and let you know. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 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
|
|
|
|
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...
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/14/2004(UTC) Posts: 37
|
I still don't see any final version...
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
It will be available today in the evening. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/14/2004(UTC) Posts: 37
|
Still no final version :(
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello,
It will be available finally tomorrow. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
|
|
|
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.