473,385 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Image Issues

Hi All,

I am trying to write an application which will open Image files like .tiff,
..png, .bmp etc.

But there is an issue when I use the picture box control. When the user
zooms in I am increasing the picture box size. The more the user zooms in
the size increases too much and the system behaves too slow.

Can somebody suggest a better logic ?

Thanks for your time and help.

Regards
Anand Ganesh
Nov 15 '05 #1
2 1332
Hi,

You can zoom an image on demand only, say, when the user presses certain
buttons.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Anand Ganesh" <an**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi All,

I am trying to write an application which will open Image files like ..tiff, .png, .bmp etc.

But there is an issue when I use the picture box control. When the user
zooms in I am increasing the picture box size. The more the user zooms in
the size increases too much and the system behaves too slow.

Can somebody suggest a better logic ?

Thanks for your time and help.

Regards
Anand Ganesh


Nov 15 '05 #2
Why don't you keep the picture box size the same and increase only the image
size? This way, you'll show only a portion of the image?

Also, instead of using the Picture box control, you can draw these images
yourself - in any zoom factor, check out Bitmap class and Graphics.DrawImage
method.

-vJ

"Anand Ganesh" <an**********@hotmail.com> wrote in message
news:#o**************@TK2MSFTNGP11.phx.gbl...
Hi All,

I am trying to write an application which will open Image files like ..tiff, .png, .bmp etc.

But there is an issue when I use the picture box control. When the user
zooms in I am increasing the picture box size. The more the user zooms in
the size increases too much and the system behaves too slow.

Can somebody suggest a better logic ?

Thanks for your time and help.

Regards
Anand Ganesh

Nov 15 '05 #3

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

Similar topics

5
by: Alper Adatoz | last post by:
Hi, i have a little problem. i hope u guys give me a clear solution (: db: mssql i just want to put jpeg file to the image field at the mssql db. and after that i want to call it back..
16
by: Donjuan | last post by:
Hi all I have trouble with tracking whether my image file is loaded. i use DHTML to change my image. HERE is the code: <img name="someimage" src="1.jpg"...
6
by: Giggle Girl | last post by:
Overall Background: I am in charge of migrating an already-made Content Mangement System from ASP to PHP. I do not know PHP -- yet! I am trying to foresee potential issues, and here is one. ...
6
by: abdullah1983 | last post by:
Hi Guys, I need some clarification regarding the problem with safari browser. Please find my code below. I'm setting the image src, mouseover and mouseout using javascript. The mouseover and...
2
by: webonomic | last post by:
Converting data types I'm trying to do some image manipulation. This code project article (http://www.codeproject.com/csharp/imageresize.asp) has a great method I want to modefy. Here it is: ...
2
by: reynardmh | last post by:
I tried to change the image.src on the fly when the user click a link. But for some reason it does not work in IE 6 (the image just disappear when I click the link), but if I add the alert('test')...
14
by: =?Utf-8?B?U2FtdWVs?= | last post by:
Hi, I have a web app that allows others to upload files, and the problem is that if I allow users to upload image files, fake image can be uploaded and cause XSS issues. In the app, I do...
2
by: | last post by:
I have a few custom controls that expose properties of type Image. The built in controls that have Image properties allow you to delete the image and set it back to "None". How can I allow my own...
9
by: The Natural Philosopher | last post by:
Ok. what I want to do, is have pictures as BLOBS in a database. And show them onscreen. If I have a generic program called say - showpic.php - which is capable of spitting out an image...
5
by: Michael | last post by:
Hello all, how could I rotate a server side image in asp.net and show it in web page? Thanks.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.