Import Bitmap Error(s)

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Import Bitmap Error(s)

Postby phil.drummond » Sat Nov 12, 2011 9:16 pm

I get these two errors when attempting to import my own image.
I do not get these errors when importing the sample images (bitmaps).
I tried opening one of the sample images and pasting my image into it and then saving the result to the same Folder (directory), same errors.
The file sizes are; original 1.6meg, new one = 1.2meg (I used "biohazy.bmp" as my sample file).

"BMP: Couldn't allocate image memory"
"Error in reading image DIB"

Here is a jpg of my file... yes I'm using the bmp version for import.

biohaz2.jpg
biohaz2.jpg (91.8 KiB) Viewed 1483 times
phil.drummond
 
Posts: 100
Joined: Sun Feb 08, 2009 3:57 pm

Re: Import Bitmap Error(s)

Postby adafruit » Sun Nov 13, 2011 5:15 pm

post up a zip with the original BMP, otherwise we cannot reproduce the error
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Import Bitmap Error(s)

Postby phil.drummond » Mon Nov 14, 2011 12:33 am

Ok!
And thank you very much for the reply :)
Attachments
glyphs2.bmp.zip
(31.71 KiB) Downloaded 85 times
phil.drummond
 
Posts: 100
Joined: Sun Feb 08, 2009 3:57 pm

Re: Import Bitmap Error(s)

Postby phil.drummond » Wed Nov 23, 2011 7:01 pm

I'm sad. I had to clip my Spokepov(s) out of my cruiser for Thanksgiving at the campground. I'll try again later.
phil.drummond
 
Posts: 100
Joined: Sun Feb 08, 2009 3:57 pm

Re: Import Bitmap Error(s)

Postby phil.drummond » Sun Dec 04, 2011 11:30 am

Ok, I tried again and still get the same error messages.
Then I tried creating an image from scratch and got the same error messages.
It's tough that after being delayed for so long after buying these things, that when I'm finally able to devote a little time to them I run into problems.
I'm attaching the bitmap I created from scratch and unless someone reply's to this thread I'm going to seek some other project to spend my time with.

These are blue LED SpokePOV's with the included USB SpokePOV programmer connected to an Apple iMac running Snow Leopard (v10.6.7)
SpokePOV v1.4 is installed and seems to work with the exception of this bitmap import issue.
(I would update to 10.6.8 or even install Lion if I was not getting a Kernel Panic every time I attempt to update to 10.6.8)

The SpokePOV units I have work as described with the included (default) images and with the additional provided sample images.
It's only when I modify the provided images or attempt to create my own images.

What is an "image DIB" and why does the SpkoePOV application fail to allocate resources for it's internal operation (BMP: Couldn't allocate image memory)

Why does this turn into my problem?
Attachments
spokepov_scale.bmp.zip
(768 Bytes) Downloaded 81 times
phil.drummond
 
Posts: 100
Joined: Sun Feb 08, 2009 3:57 pm

Re: Import Bitmap Error(s)

Postby adafruit » Mon Dec 05, 2011 6:41 pm

can you try with some other simpler images? the one you put up at first wont really show up at all in the first place, its much too complex :/
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Import Bitmap Error(s)

Postby phil.drummond » Thu Dec 08, 2011 11:14 pm

I tried creating a super-simple image and got the same results. You can download that image from the post before your last one.

Thank you.

phil
phil.drummond
 
Posts: 100
Joined: Sun Feb 08, 2009 3:57 pm


Return to SpokePOV

Who is online

Users browsing this forum: No registered users and 0 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]