P
Peter Jackson
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
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