|
-
Feb 23rd, 2002, 06:33 AM
#1
Thread Starter
Member
Problem with Bitblt
Hi
I am combining several pictures of size 672 X 672 pixels using Bitblt. I have 1200 such grids to be combined. (40 rows x 30 cols)
But i am unable to combine more than 18 such grids. I have 512 MB RAM and the system goes fully through the two FOR loops for rows and cols. No error occurs during the running.
Is there any restriction on the maximum height of a picture box.
can somebody help solve the problem? i am desperate.
Sunithi
-
Feb 23rd, 2002, 08:06 AM
#2
PowerPoster
What in Gods Teeth requires and image that big?
26880 * 20160???
That's massive! Why not try and find another way round the problem - what are you trying to do?
Gentile or Jew,
O you who turn the wheel and look to windward,
Consider Phlebas, who was once handsome and tall as you...
-
Feb 23rd, 2002, 09:25 AM
#3
Thread Starter
Member
it is actually a map done in AutoCAD of size 60" x 80". it has to be converted into smaller grids for viewing through a VB front-end. AutoCAD plug-in viewers r very slow. plus i have to allow the user to add some symbols to the map at places he wants.
so the symbols he adds will get added to the smaller grids. but when the user wants to see the full map, the grids should be mosaiced together in a picture box and display all the symbols he added in the respective positions. the user should also be able to save this full map as a JPEG file.
i hope that i have conveyed my requirement to some extent. please let me know if i am not clear. i need a solution for this very badly
thanx
-
Feb 23rd, 2002, 09:35 AM
#4
PowerPoster
Well, I'm not aware of any readily available monitors that can display a 26880*20160 image anyway so you're going to have to have some method of scrolling the image in a picturebox. You wouldn't be able to see it all at once, so there's no point trying to draw it all at once (the image size would probably take about 2gb memory if I worked it out right).
You'd be able to write it all to a JPEG but you'd have to write (or find) a JPEG conversion algorithm and pipe the information into a file with the correct header/footer (as you can't use .savepicture from a control).
It would also take ages, and the file would be massive.
Gentile or Jew,
O you who turn the wheel and look to windward,
Consider Phlebas, who was once handsome and tall as you...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|