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

Uncompressed Image Format With Transparency?

TC
Is there any way to save a bitmap in an uncompressed format which preserves
transparency?

The BMP format is uncompressed, but doesn't support transparency. The GIF
format has an alpha channel, but always uses compression. The TIFF format
preserves transparency and has an option for no compression, but that option
doesn't seem to be supported by VB.NET. I'm intrigued by the image format
called MemoryBMP; I'd like to test it out, but every time I save an image in
that format, I get the error "Value cannot be null."

Any suggestions?

I want an uncompressed format, by the way, because I want all images of the
same dimensions to have exactly the same file size. (I know it isn't that
simple, but please humor me.)
-TC
Nov 20 '05 #1
2 1822
A direct draw surface (.dds?).

"TC" <v@x.z> wrote in message news:WiUqc.33537$bS1.17532@okepread02...
Is there any way to save a bitmap in an uncompressed format which preserves transparency?

The BMP format is uncompressed, but doesn't support transparency. The GIF
format has an alpha channel, but always uses compression. The TIFF format
preserves transparency and has an option for no compression, but that option doesn't seem to be supported by VB.NET. I'm intrigued by the image format
called MemoryBMP; I'd like to test it out, but every time I save an image in that format, I get the error "Value cannot be null."

Any suggestions?

I want an uncompressed format, by the way, because I want all images of the same dimensions to have exactly the same file size. (I know it isn't that
simple, but please humor me.)
-TC

Nov 20 '05 #2
* "TC" <v@x.z> scripsit:
Is there any way to save a bitmap in an uncompressed format which preserves
transparency?


PNG supports transparency, maybe you can adjust "compression" to fit
your needs.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

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

Similar topics

7
by: dan glenn | last post by:
(PHP4.3.4) Is it possible to change an image that's in one type (jpg, gif, png) into another type? Especially, I know I can read a gif with GD2, but I really need to be able to save it as a png. Is...
3
by: Mr. x | last post by:
Hello, I would like that my image's background color will be transparent. What I have is only paintbrush. My image is *.jpg format (I have tried to save it as *.gif format, and I got less...
6
by: felix | last post by:
Hi, I have an Image that is drawn with Graphics.DrawImage(..). What I want to do is drawing it with a given transparency, e.g. at an alpha of only 180 instead of 255. How am I doing that?!?!?...
18
by: Andrew Christiansen | last post by:
Hey all. The images I create in photoshop with semi-transparent pixels (for instance in Photoshop text with a dropshadow with a transparent canvas) I've been saving in PNG format and then using...
0
by: CDMAPoster | last post by:
In: http://groups.google.com/group/comp.databases.ms-access/msg/9c3dcf952fc3e3d3 I said: '----- In: http://groups.google.com/group/comp.databases.ms-access/msg/c368352c1...
1
by: jitu78 | last post by:
GIF Images Use GIF files for images that have a small number of colors. GIF files are always reduced to no more than 256 unique colors. The compression algorithm for GIF files is less complex than...
1
by: FuzzyLogik | last post by:
I need the image to be in the CSS, because I plan to have multple stylesheets. The tricky part is I have 3 parts to the image, a top, the main bit, and right, Here is the image:...
0
by: satishns | last post by:
Hi I am trying to create BMP file to print on Epson Receipt printers using OPOS. Epson printers only allow - BMP File which are Monochrome, 16 color (4 bit ) or 256 Color (8-bit) and should be...
2
by: PJ6 | last post by:
I am rendering a few graphs with GDI+ and sending images to a web page. What image format is lightweight and the best for presenting line drawings sharply and without compression artifacts? GIF?...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.