473,387 Members | 1,637 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,387 software developers and data experts.

Graphics in C++ Builder6 (PNG Files)

I am using C++ Builder 6.

I am trying to use a PNG file (installed a component that gives the
png option) on a form. It displays fine.

The problem is, when i try and stretch the image (stretch set to
true), only the image box, not the image itself stretches and I dont
know why. Works fine with bmp files.

if there is not a solution to the above... My objective with the png
graphic files is to use them as panels.. The panels that come with
Builder are rectangular and boring. I want to find a component that
gives the ability to round the corners and give a larger variety of
color options.

If you know of this type of component, please let me know.

Any thoughts?
Thanks!
Jul 22 '05 #1
1 2919
Thad wrote:
I am using C++ Builder 6.

I am trying to use a PNG file (installed a component that gives the
png option) on a form. It displays fine.

The problem is, when i try and stretch the image (stretch set to
true), only the image box, not the image itself stretches and I dont
know why. Works fine with bmp files.

if there is not a solution to the above... My objective with the png
graphic files is to use them as panels.. The panels that come with
Builder are rectangular and boring. I want to find a component that
gives the ability to round the corners and give a larger variety of
color options.

If you know of this type of component, please let me know.

Any thoughts?
Thanks!

Graphics are not supported by the C++ language are a platform
specific issue. A very good idea is to search a Borland newsgroup
and perhaps even post your query there. For more information,
read the welcome.txt message below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #2

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

Similar topics

18
by: Nick | last post by:
Hello, I wanted to know if anybody has any good suggestions of any books or other resources that could teach me how to make good Web graphics and how to use them in HTML to make Web pages look...
0
by: Brian K | last post by:
I am new to Apache Batik and I am now doing a SVG Editor for my project. I use Java as programming language. I use Batik to generate the SVG from Java Graphics2D, as I would like to transform...
1
by: Thad | last post by:
In C++B6 you can use panels on your form. They are all straight edge and rectangular with very limited color choices. I am trying to find a component that has rounded off corners and has a...
4
by: Martin | last post by:
I am using graphics as backgrounds for forms,buttons,labels etc. The question is: is it faster to load all graphics from files on app start or to use it embeded (places in editor during design)....
0
by: Mark Davison | last post by:
Hi, I hope someone can help, this has been driving me mad! I am trying to generate a graphic on the fly. This is then shown in the browser in a "print preview" type window. The user can click a...
13
by: SStory | last post by:
I need to be able to give the appearance of glass over a picture inside of a frame. How can I do this in real time given that the picture will change? Is there a way using the graphics to make...
2
by: wstsoi | last post by:
hi I have to read images from spreadsheet, is it possible to do with php?
2
by: Lumpy | last post by:
Ok all, I have a question regarding the gd library in php. First, let me say that there is really no reason why I am doing this the way that I am. I was a little bored with doing homework and...
6
by: jt | last post by:
i think i was not clear in my quesiton. my question actually was how to store a graphics image generated in C. Eg. #include<graphics.h> void main() { int gm,gd=DETECT; initgraph(&gd,&gm,"");...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.