electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to Resize the images in Visual Basic 6?


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> How to Resize the images in Visual Basic 6?
Author Message
starlet



Joined: 12 Jun 2003
Posts: 23


Post23 Dec 2003 17:41   

How to Resize the images in Visual Basic 6?


hi friend

i am new to visual basic. i want to resize or cut pictures to my own X x Y in visual basic. i.e. 800x600 to X x Y any pixel value. but how to do it.

and also can we get every pixel data of RGB in bytes of arrays like Matrices in Matlab?
if any one knows please upload code files.
Back to top
Google
AdSense
Google Adsense




Post23 Dec 2003 17:41   

Ads




Back to top
sherif12



Joined: 25 Nov 2003
Posts: 33


Post24 Dec 2003 0:24   

Re: How to Resize the images in Visual Basic 6?


regarding how to save any array, here is a code that creates an icons and save it to an .ico file.

for changing the Pixels resolution, ,u can use the control image from your VB toolbox and set Stretch from its properties window to "TRUE", now u can change the resolution as u want,

don't forget to see the attachments.

regards,

Sherif.



Sorry, but you need login in to view this attachment

Back to top
starlet



Joined: 12 Jun 2003
Posts: 23


Post26 Dec 2003 18:40   

Re: How to Resize the images in Visual Basic 6?


hi sherif12

i downloaded icon and got idea to save and make ico file. but i want to resize other images too. you used 321x321 and save 321-1/10 pixels.
how to resize jpg, bmp, etc .

also i want to change the color level to 2 bits or any bits color range. is it possible with thresh hold values. but how to make 16 bits color pixel into 8 colors only or 4 colors (specified by me--can be using threshhold (like matlab matrices manipulation) or can be red,blue,green,yellow only or any).

how to do it. will it be done using RGB data values selection if it is, then how? need help.
Back to top
sherif12



Joined: 25 Nov 2003
Posts: 33


Post27 Dec 2003 1:36   


hi starlet,

i am sorry, ,i don't have an accurate and precise answer for your question and really have no time to find it for you so i would advice to leave your question @ http://www.experts-exchange.com/

which is a large IT community that resembles elektroda in # of experts but in IT, u will probably get an answer(s) in less than 24 hours and will be the ultimate one.

regards,

Sherif.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> How to Resize the images in Visual Basic 6?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
What is the better Visual Basic, Visual C++ or Delphi ? (79)
How to do this in Visual Basic? (1)
Visual Basic And the 8051 (20)
How to create delay in Visual Basic? (7)
which one is better visual c++ or visual basic for GUI (8)
display the rpm & m/s in visual basic (1)
A Problem In Interfacin A uController To The Visual Basic (4)
How to test a single bit in Visual Basic? (3)
Using Visual Basic to on/off the mcu GPIO (2)
how to configure serial port DB-9 by using Visual Basic 6.0 (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS