| Reply | « Previous Thread | Next Thread » |
|
Hello people,
Is it possible to retrieve the image mode (RGB, RGB16, etc) from a graphics.Image object ? |
|
Hi,
I had not tried it but there is a function called image.inspect(file) that might help you. Best regards. Jajal Mehul |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
||
|
Quote:
Quote:
Luis, use this: Code:
img=graphics.Image.open("C:\\example.jpg")
print img.mode
|
|
Hey Bodgan,
Thanks for the reply! It seems this solution is not listed in the documentation ... (at least I didn't find it) |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
True, it isn't. But Image objects have a mode attribute and it seems to be accessible without needing special functions to return it
![]() |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Bluetooth PARK mode | vbonnefond | Bluetooth Technology | 2 | 2008-11-03 13:05 |
| How about a simple silent mode delay!!! | gsgriffin | General Discussion | 2 | 2008-01-25 03:04 |
| skinning in landscape mode. | ravinder007 | General Symbian C++ | 0 | 2007-01-24 12:01 |
| Skinning in landscape mode. | ravinder007 | Symbian Media (Graphics & Sounds) | 1 | 2007-01-11 11:24 |
| Idle Mode Text on Nokia 6680 | nitinkhobragade | General Discussion | 1 | 2006-07-10 19:52 |