macneacail

Newbies
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

1
  1. True Story: Friend's mother died. Her husband had called her wif her whole life. Two guys at the funeral heard the mother's real name and said out loud, where is WIF.
  2. Dear Rick: The problem belongs with the people at Microsoft who let bmp mask for png -- this is just a simple decision -- but one that has impacts years later. Paint.net is a good program. John
  3. some would say there's only a colour difference between water and Heineken 1. You leave home and drive 2 hours at 2 am to Houston to catch a plane - no beer 2. You fly to NY and find out you have to change airports - no beer 3. You take a bus - no beer 4. You fly to Toronto - no beer 5. You fly to some small place in Novo Scotia and buy a Scottish T Shirt - Which you can not wear anywhere as it says "If I was wearing underpants it would be a dress it is a kilt" - Canadian Beer 6. Your father dies in Australia so you arrange to fly to Australia -- 7. Fly to Toronto - no beer 8. Fly to Rome - no beer under 15 dollars a can - El Cheapo airlines 9 Arrive late need hotel 10. Taxi driver says fixed fee in Rome -- agree to pay 50 Euros - he drives you to Hotel 1 block from airport - no beer at Hotel - but the lady wanted to know if I wanted an hour or a night 11. Walk to airport 12. Catch plane to Qatar - coke 13. Catch plane to Sydney - sleep 14. Get off in Sydney and no one at airport - no beer 15 Wait two hours - decide to take train home 16. Trains cancelled to Newcastle - put on bus with 15 small kids who are all sick and coughing -- is nose dribble that is yellow bad or is the green worse - no drinks 17. Ring daughter tell her if she not pick you up you will say terrible things to her boyfriend about the pictures - no pictures but it always works 18. 4 hours later after trip through boonies land in Newcastle - no beer 19. Spend week with daughter whilst step mother flies from Italy -- her first holiday in 20 years and dad dies -- bastard always got the last word - Australian beer 20. Fly to Italy for work through Turkey - 20 USD for visa at Turkish border - no beer - for first time ever security checks accelerometer - explain a box with single light and 2 ports in Turkey to TSA guys -- no beer 21. Fly to Rome - no beer 22. Get train to Bologna - no beer 23. Walk to accommodation - no beer, coke water and the elevator is broken - 3 computers and 4 accelerometers has mass of about 15 kg on back. - Hint do not let airport weigh backpack 24. Walk to favourite restaurant in whole world on main Piazza - sit down ask for Sicilian beer - numero uno 25. Waiter tells you made by Heineken -- you laugh and drink beer and sit next to American tourist who says the beer is good not like that Heineken stuff 26. You make his day - tell tourist you know beer made by Mafia in secret plant -- why do people believe you if you tell story with straight face All of the above is true.
  4. Dear Rick: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- using (var inFile = File.OpenRead(NameofBitMap)) { var decoder = BitmapDecoder.Create(inFile, BitmapCreateOptions.None, BitmapCacheOption.None); var encoder = new PngBitmapEncoder(); var frame = decoder.Frames[0]; encoder.Frames.Add(frame); using (var outFile = File.OpenWrite(NameofBitMap + ".png")) { encoder.Save(outFile); } } ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- René Slijkhuis provides a simple workaround for the moment -- I prefer to think of bugs as unused features I read the blog content -- interesting Perhaps instead of breaking BMP images created using GDI that is still legal with the perversion that bmp is really PNG in some cases - maintaining the option or putting up a more descriptive error might have been useful. Renaming BMP to PNG worked. But rule number 101 from Computer Science 100 in 1978 - do not criticize other people's code, I always find is useful, although often ignored. As the great Jerry Pournelle once said "bend the punch cards - enjoy the day" RIP JP you are missed. Great program by the way. John
  5. Thank you for the response. Each file is about 5 MB so it will not upload. Bitmap newBmp = new Bitmap(XL, Y, System.Drawing.Imaging.PixelFormat.Format24bppRgb); creates the file I wonder why does paint.net 4.1.6 open the files and paint.net has done so since I started using it in about 2012 John
  6. These bitmaps load in Word, PowerPoint as well as paint
  7. The bitmaps load with 4.1.6 - just reverted. I updated the drawing program to net4.8 - still had same error
  8. Paint.net 4.2 will not open bmp files created using Microsoft Drawing Routines. paint.NET has been opening these files since 2012 Application version: paint.net 4.2 PaintDotNet.Imaging.UnknownImageFormatException (0x88982F07): D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp (892) : hr = spDecoder->Initialize( spStream, static_cast<WICDecodeOptions>(metadataOptions)); at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 98 at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo) at PaintDotNet.SystemLayer.Native.x64.Imaging.WICImagingFactory.CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions, Nullable`1 containerFormat, Nullable`1 preferredVendor) at PaintDotNet.Data.WicFileTypeHelpers.Load(Stream input, Nullable`1 forcedContainerFormat, Nullable`1 preferredVendor, MetadataTranscoder metadataTranscoder) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 61 at PaintDotNet.Data.BmpFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\BmpFileType.cs:line 93 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 482 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158