Ruby on Rails
Monday, November 17, 2014
Sathish,
It seems it is reading and verifying bitmap planes and bpp data by the following methoddata.unpack("x26 v2")
On 17 November 2014 15:55, sathish thandavan <sathish.thandavan@gmail.com> wrote:
workbook = WriteExcel.new("images.xls")--
worksheet4 = workbook.add_worksheet('Image 1')
worksheet4.write('A10', "Image inserted over scaled rows and columns.")
worksheet4.insert_image('A1',
File.join(File.dirname(File.expand_path(__FILE__)), '24bit.bmp')
)
workbook.close
I am not able to write bitmap image whereas I can import .jpg images well.
Error i am getting
"isn't a 24bit true color bitmap."
Also used this step to convert into true color bitmap
"convert alarm.bmp -type truecolor 24bit.bmp"
Help..
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/89ef2a1c-3625-4c3c-ae31-b245b1a17788%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFcxoRErchRrj618a%3DsGMyFU0ZuWpYemaAOg1aihEhKp35%2B%3D8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment