PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Color depth - 8 bit, 16 bit or 24 bit

 
 
Peter Jackson
Guest
Posts: n/a
 
      1st Nov 2003
Hi All,
How do I tell what the color depth is of a picture object, I would like to
do:
Shp.Export FileName, shapeFormate

where shapeFormate and FileName are determined by the color depth.
e.g.
Select Case Shp.ImageDepth
Case 0 to 8
shapeFormate = ppShapeFormatGIF
FileName = Shp.Name & ".gif"
Case 9 to 16
shapeFormate = ppShapeFormatJPG
FileName = Shp.Name & ".jpg"
Case Else
shapeFormate = ppShapeFormatBMP
FileName = Shp.Name & ".bmp"
End Select

Or maybe there is another simple way??

TIA

Regards, Peter


 
Reply With Quote
 
 
 
 
Brian Reilly, MS MVP
Guest
Posts: n/a
 
      9th Nov 2003
Peter,
I don't think there is any way to ascertain the color depth of an
inserted picture. I also don't think you could capture that even while
importing the picture based on the file extension. For example a jpg
could have any of the mentioned color depths you are looking for.
To add even more complexity to the matter, PowerPoint stores all
images, except jpgs, as png files. It leaves jpgs natively jpg.

What are you trying to do with this here. Maybe there are other
thoughts we could bring up about image size that might help.
Brian Reilly, PowerPoint MVP
 
Reply With Quote
 
John Langhans [MSFT]
Guest
Posts: n/a
 
      14th Nov 2003
Hello Peter,

PowerPoint does not have the specific capability that you are looking for.

If you (or anyone else reading this message) think that PowerPoint should
provide a way to display (and perhaps change) the properties of inserted
images or, perhaps even any selection (without having to resort to add-ins
or VBA), don't forget to send your feedback to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also why it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions)

John Langhans

Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

This posting is provided "AS IS" with no warranties, and confers no rights.

Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GDI color depth? RobT Microsoft VB .NET 5 6th Nov 2008 09:14 AM
GDI Color Depth RobT Microsoft ASP .NET 1 6th Nov 2008 02:31 AM
16bit Color Depth => 256 Color Symbols Yannick Berker Windows XP Help 0 3rd Apr 2004 01:25 PM
Icons shows in 256 color in 16-bit color depth. Henrik Windows XP Customization 3 16th Jan 2004 01:25 AM
How to set color depth Craig Windows XP New Users 1 15th Jan 2004 04:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 PM.