OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18-04-2007, 03:41
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default DrawX4 VBA wish - Shape.Bitmap.Pixel(x,y)

It would be awesome and very convenient feature to address any pixel of bitmap shape by x & y coordinates - to analyze color, to do anything.

It could be
Shape.Bitmap.Pixel(x,y) - read/write
Shape.Bitmap.DumpToArray VBA_array() - would make a fast copy of bitmap pixels into VBA two-dimensional array (for increasing individual pixel addressing speed)
Shape.Bitmap.LoadFromArray VBA_array() - which would replace bitmap pixels with that in array (width/height in pixels should of course match)

Also it would be cool if some built-in bitmap functions would expose a little to VBA:
Shape.Bitmap.Histogram.CMYKCyan (0 to 255) as long
Shape.Bitmap.Histogram.CMYKMagenta (0 to 255) as long and so on - almost like Color object. And of course consolidated histogram for all channels
Reply With Quote
  #2  
Old 18-04-2007, 22:31
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

beginCommandGroup/EndCommandGroup should collate numerous manipulations with pixels so that pixel assignments and alterations will be fast
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to begin with CorelDRAW and VBA shelbym CorelDRAW/Corel DESIGNER VBA 2 03-04-2007 09:15
Delay Load VBA Dart CorelDRAW/Corel DESIGNER VBA 6 06-12-2006 23:00
delete vba project from cdr file hotairballoon CorelDRAW/Corel DESIGNER VBA 1 18-05-2005 09:08
CD 10, VBA not returning true outline width Webster CorelDRAW/Corel DESIGNER VBA 1 24-11-2004 17:09
Detect if VBA is installed (an answer and a question) reanan CorelDRAW/Corel DESIGNER VBA 3 04-12-2002 14:35


All times are GMT -5. The time now is 15:34.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com