Recent

Author Topic: LazPaint (alpha-blending, antialiasing, filters)  (Read 651016 times)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #540 on: June 04, 2014, 11:10:48 pm »
Ah ok it is not really a bug but a feature request. How do you propose pasting to work? What menu would you propose?
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #541 on: June 05, 2014, 10:09:51 am »


Maybe you did not understand what I meant.
When I do File/Open picture I get a dialogue to select a picture. There is a field, containing the path to the currently viewed folder, i.e. c:\
But I want to paste inside the address of another folder, i.e. c:\Document ...\blabla\...\dyrybyry\..\images\since I have this folder open in the commander and I just copy the path from there.
But pasting does not work.
If I am still not clear, I will upload a picture, unfortunately it might take hours.

You said nothing about that:
Quote
There is a boring issue- when I close the SVN version of LazPaint it shows some (probably debug) mesages. How am I to disable them?
It shows me plenty of messages, so I have to kill application upon exit :-\



Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #542 on: June 05, 2014, 11:32:33 am »
Ah I understand about the path. You are talking only about the textbox that contains the path. Yes it would be possible to make it editable.

About the debug messages, normally there is just one message, you just need to press ok. If there are more, there may be some memory leak. Can you post a screenshot of the first message box?
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #543 on: June 05, 2014, 03:41:38 pm »
I have added a new PO file and I am translating it, probably something gets messed because of that, since most messages are related with resource strings or something like that.
I have no idea how many messages are shown, I never pressed okay more than 5 times, after that I just kill the app.
If you consider it useful, I could pack the whole app folder and send it to you.
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #544 on: June 05, 2014, 08:32:21 pm »
Well I don't think the whole thing would be much more useful than a screenshot.

What happens if you start with a fresh directory, do you get the same error?
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #545 on: June 10, 2014, 10:08:13 am »
What happens if you start with a fresh directory, do you get the same error?
I copied the exe in the Programs Files folder (where normal version was installed) and I got a single message display.
In the svn version most messages are generated from translations.pas and defaulttanslator.pas.
Anyway, what I need is to know which line to comment to prevent this msgbox(es) form appearing), I do not understand what they are saying me.
« Last Edit: June 10, 2014, 10:10:09 am by paskal »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #546 on: June 18, 2014, 01:01:03 pm »
a useful feature will be a panel with images for processing, or in details:
Several files are added to the panel (with a file open menu or drag and drop). In the panel there shall be Prev and Next button. When the Next button is pressed current image closes and the next one is open. No memory will be wasted for opening multiple images at the same time, and there will be no effort for opening each file separately.
A patch with this functionality is attached.
There is a problem- when the window is closed with a click on the + button, it needs to be enabled twice in order to be shown again.
I hope circular won't have troubles fixing it.


Edit: I just found a bug. If a image is edited but unsaved, when opening a new image from the imagelist window a dialog should appear, asking if the file should be saved, but it does not. I will try to fix in the near days.
« Last Edit: June 18, 2014, 02:34:24 pm by paskal »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #547 on: June 19, 2014, 05:59:34 pm »
Thanks I will have a look at it.
Conscience is the debugger of the mind

Fahmy Rofiq

  • Jr. Member
  • **
  • Posts: 83
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #548 on: June 20, 2014, 12:18:14 pm »
Today I compiled Lazpaint trunk (5.9), it's great application. :)
BTW: Rotate layer is slow for big images. Please improve this, this is really useful feature. I always use rotation when editing scanned images.
Lazarus Trunk + FPC Fixes 32bit
Windows 10 x64

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #549 on: June 20, 2014, 12:43:40 pm »
Please improve this, this is really useful feature.
Would be nice if you could submit a patch or code with performance improvements ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fahmy Rofiq

  • Jr. Member
  • **
  • Posts: 83
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #550 on: June 20, 2014, 12:58:45 pm »
Would be nice if you could submit a patch or code with performance improvements ;)
I'm just a noob here. :)
Lazarus Trunk + FPC Fixes 32bit
Windows 10 x64

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #551 on: June 20, 2014, 02:27:22 pm »
circular, please assign a shortcut key for Image/Remove Transparency/Clear alpha channel and set background.
Yet there another bug- when the application language is changed, it restarts. IMHO it should reload the last open image upon restart.
Also, I think it would be better to rename menu item Tool to Tools, most applications use it in plural.
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #552 on: June 23, 2014, 08:41:31 am »
Thanks I will have a look at it.
If you have not started doing something on the patch, please let me know, I will upload a complete patch, including the fixed bug (asking to save changed documents).
I have fixed some other bugs, too.
I wonder if I should make Autouncheck work for edited files only  :-\ Maybe I should put another checkbox for that?
« Last Edit: June 23, 2014, 03:38:10 pm by paskal »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #553 on: June 23, 2014, 08:04:59 pm »
Ok send the new patch. Note that if I update on SVN anyway, you can make a patch compared to the current version.
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #554 on: June 24, 2014, 11:49:13 am »
I have attached the patch.
If s.o. wants to try the win32 exe (valid 2 weeks). Image list is to be found in Main menu->View->Image list

For some reason, items in the Selection and Tools menu have duplicated shortcuts, which do not work?
« Last Edit: June 24, 2014, 11:52:02 am by paskal »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

 

TinyPortal © 2005-2018