Recent

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

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #645 on: September 11, 2014, 09:23:19 am »
So, the trick is that the link should be to a folder. Links to files are not shown.
So, I have set option NoDereferenceLink:= true  in the OpenDialog1 in the ImageList form. Now no error message is shown, though folders can still be selected.
Should I submit a patch or it would be more convenient for you to fix it yourself?


Still I have no way to disable folder selection.Maybe it is not possible, since it would cause problems when items are selected with ctrl+a/ shift+ shift/ mousedrag.
Maybe it should not be disabled, but images in the selected folders should be added to the list (if possible to implement).
« Last Edit: September 11, 2014, 10:06:30 am 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 #646 on: September 12, 2014, 05:02:54 pm »
Please do post patches, I like patches.  :)

I would propose to use the image browser instead. This makes me think of adding CTRL-A shortcut with it!

I already replaced the OpenDialog for File>Open and for Select>Load Selection. I would like to do the same where ever an image is opened. This is in part motivated by the fact that the application crashes under Linux on those dialog boxes. However I have not found any plan for the "folder browser" dialog yet

This is not completely replace the dialogs yet as it is not the case under MacOS because it seems not to work. However, maybe the new version of the image browser would work well on MacOS too. I don't know.

I think it is safe to ignore links that may be returned by dialog boxes.
« Last Edit: September 12, 2014, 05:06:50 pm by circular »
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #647 on: September 12, 2014, 10:50:42 pm »
What about FullScreen mode? Something like View > FullScreen (F11)

Code: [Select]
Form.BorderStyle:=bsNone
Form.WindowState:=wsFullScreen

This code maybe is not compatible with View > Dock layers and colors.

Edit: a cool way to have a docking toolbar
http://forum.lazarus.freepascal.org/index.php/topic,25800.msg157316.html#msg157316

And a way to theme a panel and a ttoolbar (of course maybe you already know it)
http://forum.lazarus.freepascal.org/index.php/topic,25746.0.html
« Last Edit: September 13, 2014, 06:49:20 pm by 007 »

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #648 on: September 13, 2014, 11:14:27 pm »
Please do post patches, I like patches.  :)
 
Patch is attached.

 


I would propose to use the image browser instead.
 
I wonder if it won't become too heavy. It will give it a try.
And once again it occurs that I neither edit, nor paste in the address field. I am pretty sure I have fixed it some time ago.  :'(
Also in the open dialog several images can be selected, but only one can be open at a time. You should disable multiple items selection, unless you something unknown to me can be done with multiple selected files.
« Last Edit: September 13, 2014, 11:17:00 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 #649 on: September 14, 2014, 06:25:15 am »
Thanks.

Well, yes you can open multiple files, by pressing Enter or clicking on the new top left button. It has the same effect as drag'n'dropping files. In fact I have added the optional multiple selection in order to make it compatible with the image list.

I guess I have not applied the change on the directory. There was some problem with the update of the list of files at that time. However now it may be ok to apply it. Thanks for bringing the subject back. I suppose you may feel sad that your contribution was not applied. Please be assured that I do try to include everything that is proposed. I may not however remember everything.

The image browser on my computer is faster to show than the open dialog, however it can be slow afterwards while making the thumbnails if there are big images. Is it what you are talking about?
« Last Edit: September 14, 2014, 06:34:53 am by circular »
Conscience is the debugger of the mind

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #650 on: September 14, 2014, 10:21:57 am »
Why are ALL conversations about LazPaint done in this single message thread!?  It makes it impossible to find a specific topic, follow a discussion etc. %)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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 #651 on: September 14, 2014, 10:56:24 am »
Perhaps somebody should start a Lazpaint newsgroup server...
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

CM630

  • Hero Member
  • *****
  • Posts: 1081
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #652 on: September 14, 2014, 08:26:04 pm »
I suppose you may feel sad that your contribution was not applied.

I feel unpleasant when I try paste the path to a folder which I have just copied from the commander and it is not happening. So I have to spent a few minutes go there manually.
But here is the good side- I came to the idea that I might borrow the idea of some Linux DEs, which IFAIK is implemented in Win7- clicking on a part of the path leads the user directly there. I will try to find a PC with Win 7 to exactly how it is works and how to switch to edit mode.
 

The image browser on my computer is faster to show than the open dialog, however it can be slow afterwards while making the thumbnails if there are big images. Is it what you are talking about?

Exactly. I will try some tests.
Also, I'd propose to change the right arrow used for "directory up" to an up arrow, as a more common icon for that purpose.
« Last Edit: September 14, 2014, 08:32:09 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 #653 on: September 15, 2014, 01:13:20 pm »
Yes, I understand the frustration.

I have put back the direct edit of the path. About the idea of clicking on part of the path, this can also be done by switching from text edit to this mode.

About the arrow, I just changed it to a left arrow. It was an up arrow, but it was confusing with the icon to load the files at the far left. I am also more used to the up arrow, however then for clarity I would prefer another icon to load the files.

EDIT: I applied the NoDereferenceLinks to all open dialogs I could find.
« Last Edit: September 15, 2014, 01:31:14 pm by circular »
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #654 on: September 15, 2014, 01:22:37 pm »
Why are ALL conversations about LazPaint done in this single message thread!?  It makes it impossible to find a specific topic, follow a discussion etc. %)
I don't think there is a particular reason for that. Is it that you would like more clarity?
Conscience is the debugger of the mind

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #655 on: September 15, 2014, 03:01:49 pm »
Perhaps somebody should start a Lazpaint newsgroup server...
Not sure if you meant it as a joke or not, but on a serious note. I do host a NNTP news server, and have made offers before where I said I would host newsgroups for open source projects for free. So if Lazpaint project wanted to move discussions to a NNTP news server, all they need to do is ask.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #656 on: September 15, 2014, 03:03:28 pm »
Is it that you would like more clarity?
Not just me, but yes. Somebody might search for a specific topic or issue or feature request regarding LazPaint. All you ever get is the monster of a thread. No easy way to navigate specific questions and answers. :-/
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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 #657 on: September 15, 2014, 03:06:35 pm »
Perhaps somebody should start a Lazpaint newsgroup server...
Not sure if you meant it as a joke or not, but on a serious note. I do host a NNTP news server, and have made offers before where I said I would host newsgroups for open source projects for free. So if Lazpaint project wanted to move discussions to a NNTP news server, all they need to do is ask.
Of course I knew you ran a news server and that you prefer it for tiopf support. That's why I posted.
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

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #658 on: September 15, 2014, 04:32:24 pm »
How different is a newsgroup server from a forum?

I would be happy to have the discussions a bit more organised. In any case, I will think about creating new threads when a subject is raised here.
« Last Edit: September 15, 2014, 04:38:12 pm by circular »
Conscience is the debugger of the mind

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #659 on: September 15, 2014, 05:20:24 pm »
How different is a newsgroup server from a forum?

I would be happy to have the discussions a bit more organised. In any case, I will think about creating new threads when a subject is raised here.
You are kidding right? never used nntp? Better known as usenet? here take a look on one of the most used clients
https://www.google.com/search?q=xananews+image&client=palemoon&rls=Palemoon:en-US&source=lnms&tbm=isch&sa=X&ei=JwIXVNm3HYuVarj-gvAK&ved=0CAsQ_AUoBA&biw=1366&bih=693#rls=Palemoon:en-US&tbm=isch&q=xananews&imgdii=_ I still miss the tree structure which allowed you answer specific points instead of general discussion.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018