Jump to content

MikeBramm

Newbies
  • Posts

    4
  • Joined

  • Last visited

Everything posted by MikeBramm

  1. I have converted some Windows True Type font files (*.TTF) to Windows Bitmap files (*.BMP). The resulting bitmap fonts are for a printing system. Once the font is converted to a bitmap, I have to edit the various characters to make sure they meet the printer's specifications, so some of the characters may need to be adjusted up/down/left/right or resized slightly so that they all line up correctly. I've been doing this for years with paint.net and it works great, but now I have to make a font that is 1024 pixels tall, which results in the bitmap being 69707 pixels wide. Because of the limitation of paint.net, I am unable to edit any part of the image from 65536 to 69707. I tried attaching this bitmap font but the file (even zipped up) is larger than the 256 kB attachment limit. Also, I save the bitmap fonts using the "Bitmap (Low color)" plugin (LowColor.dll). I have never had any problems saving bitmaps using this plugin. But, now that I've installed version 4.2 (4.200.7111.39790), it throws this exception when attempting to generate the preview: Application version: paint.net 4.2 (β 4.200.7111.39790) System.ArgumentException: destination palette has 256 entries, source has 16 at PaintDotNet.Drawing.ColorPaletteUtil.UpdatePalette(ColorPalette gdipPalette, IReadOnlyList`1 newEntries) in D:\src\pdn\src\Core\Drawing\ColorPaletteUtil.cs:line 44 at PaintDotNet.FileType.Quantize(Surface quantizeMe, Int32 ditherAmount, Int32 maxColors, Boolean enableTransparency, ProgressEventHandler progressCallback) in D:\src\pdn\src\Data\FileType.cs:line 172 at LowColor.LowColorFileTypeFactory.createLowColor(Surface PDNSurface, Double ImageDPIX, Double ImageDPIY, Int32 CustomCols, String colorMode, Int32 DitherLevel, Int32 TransparencyLevel, Boolean UseTransparency, ProgressEventHandler updateProgress, PropertyBasedFileType callingClass, Boolean Always8Bit) at LowColor.BMPSave.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback) at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 276 at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass48_0.<UpdatePreviewAsync>b__0() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 604 at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at PaintDotNet.Dialogs.SaveConfigDialog.<UpdatePreviewAsync>d__48.MoveNext() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 623
  2. I installed version 4.2 (4.200.7111.39790) and it doesn't support resizing bitmaps larger than 65535 in either direction or moving a selected area over the 65535 boundary. I also noticed that it won't allow filling a selected area or creating any shape, line or curve across the 65535 boundary. Hopefully support for larger bitmaps will be added in a future release as time permits. Thanks.
  3. I am able to load bitmaps that are wider than 65535 pixels, but when I try to move a selected part of the image where the selection crosses the 65535 boundary, only the portion of the image under the 65535 boundary is moved. I also noticed that I cannot resize a bitmap larger than 65535 in either direction. Are there any plans for adding more support for bitmaps wider than 65535 pixels?
×
×
  • Create New...