Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Amil

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    849

    Re: Which Office Chair?

    Thanks, I went ahead with another chair, which is nicer than both:
    http://www.amazon.com/Boss-Leatherplus-Cantilever-Guest-Chair/dp/B002FB6Z8S/ref=pd_sbs_op_1

    I guess it always pays to be...
  2. Replies
    3
    Views
    849

    Which Office Chair?

    So I am stuck between buying 2 different office chairs:
    1. http://www.amazon.com/dp/B000SMTIQW/ref=dra_a_cs_ss_hn_it_P1400_1000?tag=dradis-20
    2....
  3. Re: Writing image data to disk in parallel?

    Thanks for the responses. I guess I'll first time the save and processing of the bitmap. I'll also look into using ThreadPool::QueueUserWorkItem like D_Drmmr suggested.

    Also, if a moderator could...
  4. [RESOLVED] Writing image data to disk in parallel?

    So I actually posted my question to StackOverflow, but did not really get an answer.

    Basically, I want to write an image to disk in parallel with an algorithm that is processing that same image....
  5. Re: .lib file not created in release mode (msvc++7.1)

    I actually had this same problem and found this thread.
    I know this is an old thread, but the solution was to make sure that I was outputting the .def file in Release mode as well.

    Hope this...
  6. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Haha, I didn't think that they could be referring to this thread!

    Okay, I will leave it unresolved because the problem really is not resolved. Maybe someone will dig this up someday and resolve it...
  7. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    I just wanted to let you know that the Microsoft Connect page has been updated by Microsoft:...
  8. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Oh, I see. Thanks for your help though!
  9. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Yeah, I guess it is allowed to construct bitmaps with indexed formats. I didn't check this, but just assumed you were correct.

    Yeah, GetPixel() is very slow due to the generality...
    Either way, I...
  10. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Weird... Eri, I think you are right on all of those points...

    Well I'll post back when/if Microsoft contacts me.
    This might take a while, so maybe you guys could just follow this thread by...
  11. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    I used:
  12. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Okay, I'll definitely post back if Microsoft contacts me.

    Thanks for your help. The issue is kind of resolved on my part due to (drastic) changes in my code, but I am still interested in finding...
  13. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    I compiled and ran your code. I get "ERR: could not create a bitmap from: "1bpp.png" Out of memory"
    However, it works correctly for "1bpp-butOK.png"


    The results are identical on both the .exe...
  14. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Woah, this is pretty cool. From what you said, it looks like the problem is due to the difference in color type (grayscale vs indexed). Still, it seems like a mistake on Microsoft's part.

    Hmm......
  15. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Sorry about the files, that was a mistake on my part. They are actually off by 10 bytes.

    I'll definitely post back if I hear of any other developments. Hopefully somebody else will see this thread...
  16. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    I attached the images that cause this problem.

    I just got one e-mail from Microsoft saying that it has been forwarded to their team.
    If nobody else has a workaround, I guess I'll wait for...
  17. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Okay, I have posted the bug (or feature) to Microsoft Connect.
    Here is the link: https://connect.microsoft.com/VisualStudio/feedback/details/671957/net-bitmap-loaded-from-1bpp-png-stored-as-32bpp
  18. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Thank you for your help Eri!

    If nobody else responds in the next few days, I'll look into contacting Microsoft.
  19. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    [It seems I cannot edit my old post]
    About detecting the color depth of the original image, I am not worried about this. The code will automatically convert any image loaded to 1bpp (or 8bpp)...
  20. Replies
    30
    Views
    6,785

    Re: .NET bitmap loaded from 1bpp png stored as 32bpp

    Thanks for the response.
    Hmm... yes, it only happens for 1bpp images. It seems like this is a Microsoft bug. I am using .NET 3.5
    I used this guide to convert back to 1bpp, but this process is...
  21. Replies
    30
    Views
    6,785

    .NET bitmap loaded from 1bpp png stored as 32bpp

    I am developing a .NET C++ application that loads PNG/TIF images into System::Drawing::Bitmap.

    However, when I construct a new bitmap like this:

    Bitmap bm = gcnew System::Drawing::Bitmap(gcnew...
Results 1 to 21 of 21


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center