Jump to content

NisseBosseLasse

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by NisseBosseLasse

  1. Did you just merge EZTW32.DLL with my Twainable.dll, and changed the manifest file according to this comment?
  2. I noticed a strange thing when working on a rather tall image (32 x 8192, see attachment): when selecting an area at the highest zoom level, it (the selection) changes place when zooming out. Steps to recreate: 1. Zoom in to the fullest (397 % in this case) 2. Select an area (I chose 32x32, that is, maximum width) 3. Zoom out once 4. The selection is now offset by some amount (up or down) 5. If I zoom in again, the selection reverts back to what I selected the first time If I copy the selection at the highest zoom level and paste it into a new image (Ctrl+Alt+V), I get the wrong selection; I get the area that is selected at the previous zoom level. I tried to recreate this with another image of some other dimension, but it didn't work, so I'm guessing it has something to do with image whose width doesn't fill up the workspace (even at the highest zoom level)? Maybe it has something to do with the scrollbar. Because when I'm at the highest zoom level (397 %), I can do one more "zooming in" without the zoom level changes, but the image scrolls into view, and therefore changing the selection. I'm using PDN 3.5.8 on Windows 7 (64-bit, 4 GB RAM), screen res. at 1366 x 768.
  3. Good to hear it works. The stand-alone version was never intended to be run from within Paint.NET (I don't know if that's even allowed, from a plug-in's point of view). It was merely a separate tool - not depending on Paint.NET - for people who wanted to use their old TWAIN scanners on a 64-bit system. I've removed the stand-alone version to avoid any further confusions. I guess I shouldn't have put it up here, since it really hasn't anything to do with Paint.NET.
  4. I'm using it now! Thanks for sharing. EDIT: one thing that I'd find useful is buttons next to "Offset" that increases the offset in X or Y by the current width or height of the cell. That is, if the cells are set to be 32x64, the "Next" button next to "Offset X" would increase the current X offset by 32 (and the "Next" button next to "Offset Y" would increase the current Y offset by 64).
  5. It's very hard for me to tell what the problem is here with that little information. What version of Paint.NET are you running? Did you place the files in the Effects folder? What other plugins do you have there? If you are using plugins that uses the Tools-menu: do they appear there if you remove this plugin?
  6. No, I haven't seen this error before. I'll see what I can do. Thanks for reporting! EDIT: According to Microtek, the SlimScan C6 isn't supported on XP (or newer), although there seems to be a fix for their USB-version. I don't know if that's the problem, or if it's something with the EZTwain DLL, but I'll continue to search.
  7. After scanning, the image will be in your clipboard. You need to paste it (CTRL+V) to be able to see it (it isn't done automatically).
  8. goyuix: nice to hear it's working for you! Probably true. I've never used the plugin in that way and therefore never actually thought of it. I'll look into it! Good suggestions - maybe for the next release! The Paint.NET API isn't something I quite master (yet?), so I'm unsure if effects are able/allowed to tamper with creating new images, or new layers. But it would be a good feature, nonetheless. As you probably already figured out, this isn't something I as an effect developer can change. Absolutely, for the next release. I've been working on a fresh code base that doesn't use the Dosadi EZTwain-DLL, and when it's mature enough I'll probably upload it somewhere (Google Code?).
  9. Raalpha9: good to hear! I've updated the original post about the new stand-alone version of this plugin. It should resolve the issue when trying to run this plugin on a 64-bit system (the infamous System.BadImageFormatException error message).
  10. Hello again everybody, sorry for the absence. This plugin is merely a wrapper around the EZTwain Classic-dll (not written by me, but Dosadi). According to their site, their DLL only supports 32-bit Windows. So sorry, only 32-bit. EDIT: this also explains the error message "System.BadImageFormatException: Tried to load a File with a wrong Format (Exception from HRESULT: 0x8007000B)" - this is due to loading the 32-bit DLL in a 64-bit environment.
  11. What version of Paint.net are you using? I've only tried Twainable with 3.36 so I can't guarantee it to work in any of the new 3.5 versions. The plugin shows up where it does (Tools) since I don't know how to attach it to your recommended menu through code (yes, I'm the developer of Twainable). Effects are free to name their own sub-menus under the Effects-menu (at least in code), so certain menus that aren't present prior to an effects installation may very well be visible the next time you start Paint.net.
  12. I think it's perfectly reasonable to ask for a certain plugin. After all, not everybody's a programmer...
  13. I'm currently making minor changes for the next release, so I'm eager to hear about improvements and/or experiments with the current version (does it work? ). It's been downloaded 11 times, so I guess someone must've tried it!
  14. Updated 4 Oct 2010 The 4 October update is merely the addition of a stand-alone version of this application, for use on 64-bit Windows. For more information, continue to the bottom of this post. The original plugin hasn't changed for this release. I've decided to remove the stand-alone version to avoid further confusions. Version 0.2.1 Added localization support (current only Swedish) Version 0.2 Small change in the UI (new icon etc.) Changed menu location from TWAIN to Tools Version 0.1 First release My first plugin! Hopefully someone finds it useful. It's still in development (0.2.1), but it should work as expected. Note This plugin currently only works on 32-bit systems. About I wrote this effect to be able to use my "old" CanoScan LiDE 20 scanner from Paint.NET. It uses the EZTwain Classic DLL, and should be compatible with all scanners that are TWAIN-compatible. Files included Twainable.dll - The effect plugin (required) EZTW32.dll - The EZTwain Classic DLL used by this plugin (required) Twainable readme.txt - This file sv-se.fxlang - Swedish localization Installation Place the files Twainable.dll and EZTW32.dll in the Effects folder of your Paint.NET installation folder. (Optional) Placing the sv-se.fxlang file in the Effects folder will give you Swedish translation. This plugin utilizes the plugin translation written by Simon Brown*. The file sv-se.fxlang contains translated entries for this plugin (currently only in Swedish). See Translation below if you want to translate these entries to your tongue. The localization file isn't required by the plugin to function. If not found, it will use English as default. If you want to use it, place it in the same folder as the Twainable.dll file (that is, the Effects-folder). *Note: the plugin translation code can be found in this forum thread: http://forums.getpaint.net/index.php?/topic/18816-plugin-translation-scheme-including-code/ Usage After placing both files in the Effects folder, (re-)start Paint.NET. The plugin can be found under the menu Effects->Tools->Acquire from TWAIN... The main window consists of three buttons: "Select Source..." lets you select which TWAIN-source to use "Acquire to clipboard..." starts the scanner software, and stores the scanned image in the clipboard "Close" closes the window Translation First, read the forum thread at http://forums.getpaint.net/index.php?/topic/18816-plugin-translation-scheme-including-code/ to get a better understanding on the format. The entries that this plugin uses are the following: <LANGCODE>:select source=<YOUR TRANSLATION> <LANGCODE>:acquire=<YOUR TRANSLATION> <LANGCODE>:close=<YOUR TRANSLATION> <LANGCODE>:close window automatically=<YOUR TRANSLATION> ...where <LANGCODE> is the language code of your language (e.g. sv-se for Swedish, de for German, and so on), and <YOUR TRANSLATION> is of course the translation. The file sv-se.fxlang contains several other entries as well, but these aren't used by this plugin. References EZTwain Classic DLL can be found here: http://www.dosadi.com/eztwain1.htm Running on 64-bit systems If you running a 64-bit system you may have come across the error message System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B). This is due to trying to run the plugin on a 64-bit system. I've developed a stand-alone version of the plugin, for all you 64-bit users. It works in the same way, but doesn't required Paint.NET to run (it's a stand-alone, after all). Just download the "Twainable (stand-alone 0.1).zip" archive attached to this post, and read the file "Read me.txt" contained within. Removed as of 8 sep 2011. Twainable.zip
×
×
  • Create New...