Martin Osieka

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Martin Osieka

  1. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Update v1.2: Added conformance to PDF/A-1B ISO standard for long-term archiving of documents. See first message of the thread.
  2. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Sorry. On Win7. Open the control panel from the Start menu of Windows. Enter "Environment" into the Search control on the top. Select: Edit environment variables for your account. Select: New user variable Enter for the variable name: ImPDFArguments Enter for the variable value: Test Close the dialog Restart Paint.NET
  3. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Please set the environment variable "ImPDFArguments" to something like "Test" and restart Paint.NET. I guess I missed to catch an exception.
  4. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Update v1.1: Adds some layout and viewer options. See first message of the thread.
  5. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Color management is always an issue if you are working with images. But I guess you know there is no simple conversion between RGB and CMYK. At the end what you need to work on a professional level is a PDF which conforms to the PDF/X-1 ISO standard. In the moment I'm on the road to implement PDF/A-1b. This is already a big step in the right direction. Because this is the standard for long-term archiving of documents and forces you to embed an output intend which maps DeviceRGB to a device independent color space. What you also have to know is that if you are working on the ISO standard level you have to pay for specifications and licenses. Everything would be easier if Paint.NET would support color management. But I understand why there is just a little chance that this will happen.
  6. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    I guess this was a more general remark to "Just one thing I like about PDF Print, it doesn't ask to flatten". I'm just not sure about a future version which will generate layered PDFs. Because for this the plugin needs the layer bitmaps and not the composite image. This is only possible if the PDF is encrypted. Because w/o encryption the PDF specification tells the PDF viewers to disallow assembly. For encryption you have to provide an owner password. I implemented 128-bit encryption in ImPDF.Command.exe but there is no ui in the moment.
  7. Martin Osieka

    'Portable Document Format' FileType Plugin (.PDF)

    Thanks for the positive feedback. Always good to read that software made for the community may be useful. >>- Set the page size and margins (in centimetres and in inches). Offer different standard sizes as preset (e.g. A4, Letter, Legal etc) >>- Limit the image size within the page and margins >>- Position the image within the page (centre, top, bottom, left, right) This is on the list, there is only the UI part missing. >>- Use other image file or document template or pdf or doc as background (very useful for stationery, lettereads, watermarks) The problem there is the user interface. I'm using xml templates to describe PDFs but you have to edit these xml files with a text or xml editor I guess the only ui element (inside of Paint.NET) may be a selector for one of these templates.
  8. Martin Osieka

    RIP Steve Jobs

    Thanks Steve for all the inspiration I got over the years. Started my professional life by creating software for the Newton device long time ago. Let's do devices for the people and not for the engineers. Less is quite often more.
  9. I created a 8-bit .bmp file which shows 257 (=2^8+1) colors in Windows Picture Viewer. The image shows a black frame with 256 different red colors inside. You may load it with Paint.Net and count the colors. ;-) You can get the image here 8-bit bitmap showing 257 colors.bmp Explanation of the magic follows...
  10. Martin Osieka

    Ii's magic: 8-bit bmp is showing 257 colors

    OK, but if this is true then it's the same for Paint.NET. Hint: The color table of the image just contains 256 red values (no black)...
  11. Martin Osieka

    pdn2bmp v0.1 beta

    This is a proof of concept to show 1) that it is possible to deserialize the data in a .pdn file w/o the usage of a .NET framework. 2) that we are able to do the composition of layers w/o Paint.NET 3) that blending modes, opacity and alpha channels are working correctly This software is in beta state. Because of this we added some white horizontal lines. The software will be used in plugins for some image viewers/editors. Zip file in attachment. Have fun and report bugs ;-) Martin >pdn2bmp /help pdn2bmp v0.1 (beta) Creates a composite image from the layers stored in a .pdn file. Files with the extension .pdn are used by the digital photo editing application Paint.NET. © 2011 by Martin Osieka, ComSquare AG, Switzerland Usage: pdn2bmp {options} <infile>.pdn Options: /help Show this help text /pause Pause after execution /argb Write 32-bit ARGB bitmap (default: 24-bit RGB) /outfile=<filename> Write bitmap to <filename> (default: <infile>.bmp) /background=0xRRGGBB Sets background color (default: white 0xFFFFFF) /checkerboard[=0xRRGGBB] Sets second background color to show checkerboard (default: 0xBFBFBF) download link removed