06-17-2014 10:46 AM
Please correct the highlighted errors and try again.
This the error message am getting when I am trying to upload the picture.
06-17-2014 02:18 PM - edited 06-17-2014 02:19 PM
@nk wrote:
Please correct the highlighted errors and try again.
- The file does not have a valid extension for an attachment. jpg,gif,txt,xls,vi,zip,doc,llb,pdf,png,seq,c,h,cpp,cs,vb,ini,gz,ctl,scr,ico,tar,z,uir,vit,wsp,tsw,rtf,lvproj,xctl,lvlib,cfg,ppt,pps,lks,spy,bld,lep,xlt,xltx,dot,dotx,docx,xlsx,cap,tui,csv,seproj,vip,ogp,vipc,ms10,ms11,ewprj,log,vix,lvprojx are the valid extensions.
This the error message am getting when I am trying to upload the picture.
Which is why someone suggested to "archive it, e.g. into ZIP or 7ZIP"
I'm guessing this isn't a BMP file at all and is a PNG. Try using the Read PNG File.vi instead.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-18-2014 12:13 AM
06-18-2014 12:16 AM
06-18-2014 12:43 AM
Actually It was not working with read PNG or BMP files but I have done it with using IMAQ create and IMAQ Read file .vi
Thanks for your responses.
06-18-2014 01:08 AM - edited 06-18-2014 01:35 AM
I do not think that your problem is/was a 32bit colour depth. I see 24bit depth. I think that the header of the BMP file is corrupt.
The http://asecuritysite.com/information/bmp site told me the following:
which states enourmous image height at the 23-26th header bytes.
06-18-2014 04:13 AM - edited 06-18-2014 04:13 AM
@ghighuphu wrote:
[...] I think that the header of the BMP file is corrupt. [...]
@The header of @nk's pictures results in a counter overflow in one of "Read BMP File.vi"'s SubVis. You could do a work around like this:
Unfortunately, tthere's another issue which I narrow down to "Flip and Pad for Picture Control.vi". The effect look's like this:
If you bypass "Flip and Pad for Picture Control.vi" this results in the following image:
Regards,
Alex