473,399 Members | 2,774 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,399 software developers and data experts.

rearranging bitmapdata efficient

Hi

I have a Panel in which I'm displaying a bitmap. I have access to a pointer to the bitmapdata and I whish to have the bitmap shifted circularly.

I can do this by copying data around using a loop (possibly two loops) but I'm hoping this can be done using some GDI method. I was hoping that I could mask out two sections of the full bitmap (the section inside the panel frame and the section that resides outside the panel frame) and then get them into place but I can't find any methods that support that.

Can someone please give me advice on how to do the shifting?

BTW. I dont have any options but the panel/bitmapdata way!

Thanks
Tom
Sep 24 '10 #1
0 839

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: James Dean | last post by:
I was wondering if anybody knew and easy way to read pixels. Is the easiest way to read a byte in convert it to a Bitarray and then when finished convert it back to Byte......I am looking in my...
1
by: James Dean | last post by:
I am reading in a certain file format and it is compressed with Run Length encoding. To output to the screen i convert this to a 24bpp bitmap. The problem is when the data is decompressed its big...
0
by: AnthonyBenbrook | last post by:
Hello I'm writing some code to perform image manipulation via GDI+. In order to do this efficiently, I've set up the normal flow for accessing pixel data in a Bitmap object: BitmapData data...
2
by: frankh | last post by:
With Marshal you can copy data from a one-dimensional array to BitmapData.Scan0. What do I do if my array is two-dimensional? Or, alternatively, can I create somehow two variables byte arr1; ...
7
by: ljlevend | last post by:
I want to clear all of the byes that are associated with a BitmapData object. I know that one technique would be to do the following: '... Dim bitmapData As Drawing.Imaging.BitmapData =...
1
by: Tor Inge Rislaa | last post by:
Rearranging the row position in a datagrid Hi I have a datagrid that I fill from a dataset. When the data is displayed in the grid I want the user to be able to move the position of a row. E.g....
4
by: db2admin | last post by:
Hello, I want to plan rearranging tables in our database according to business areas. say all tables in business area A will be in seperate tablespace or tablespaces. I am planning to monitor...
0
by: atlkhan | last post by:
Hi I am loading bitmapdata from the library like this linkageId = "landscape"; myBitmapData = BitmapData.loadBitmap(linkageId); Than attach this bitmap image to a movie. mc =...
0
by: yoavhacohen | last post by:
Hi, I wrote the following code, however the assert condition is always false. I saw that the GetPixel.R == imagePointerSrc - 1 instead of GetPixel.R == imagePointerSrc. Do you have any idea why...
0
by: selvakumari | last post by:
hi, In my project in a treeview i am doing drag and drop function and after that modifying some values in a treeview ascending order of nodes, some times the treeview may contain 255 nodes each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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...

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.