Recent

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

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #240 on: June 08, 2011, 08:44:00 pm »
I've fixed the bug on subversion by adding {$H+} directive, which means use ansistrings (long strings).

I see what you mean by pixelate. But what do you mean by outline effect ?

Take your time with the update checker. It's already very cool.
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #241 on: June 09, 2011, 07:24:02 pm »
Quote
I leave it to you FabienWang...
I'll improve the update checker soon. (when i'll have more time).

You can do it High DPI for Windows?
http://wiki.lazarus.freepascal.org/High_DPI

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #242 on: June 09, 2011, 07:48:07 pm »
Release version 4.2 :
- DPI Aware Update Checker
- preview for emboss, motion blur and twirl effects
- reorganized code with new classes

Sources :
https://sourceforge.net/projects/lazpaint/files/src/

Binaries (GTK2 and Win32) and Windows Installer :
https://sourceforge.net/projects/lazpaint/files/bin/
« Last Edit: June 09, 2011, 09:03:05 pm by FabienWang »
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #243 on: June 09, 2011, 09:21:51 pm »
Tested. The preview it's really nice. And the updater looks fine in High DPI.

PD: the shortcut in desktop must be 'LazPaint' and not 'lazpaint'.

#define MyAppName "LazPaint"
#define MyAppOutputName "lazpaint"

OutputBaseFilename={#MyAppOutputName}{#MyAppVersion}{#MyInstallerSuffix}
« Last Edit: June 09, 2011, 10:26:22 pm by lainz »

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #244 on: June 10, 2011, 02:48:50 pm »
Thanks FW

lainz, do you want to have access to lazpaint subversion ?
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #245 on: June 11, 2011, 04:36:40 am »
Hi FabienWang, please see here:

Inno Tools Downloader (with delphi source code included)
http://www.sherlocksoftware.org/page.php?id=50

With this can be made an update checker / downloader for Windows, see the examples, specially the example 3 (\Sherlock Software\InnoTools\Downloader\examples).

"http://lazpaint.sourceforge.net/latest.txt"

current

Code: [Select]
4.2
can be?..

Code: [Select]
4.2,"http://sourceforge.net/projects/lazpaint/files/bin/lazpaint4.2_setup_win32.exe"
If you modify the 'latest.txt' I can create a kind of 'online installer' that always download the latest version of LazPaint, to distribute in download sites. (pd: i'm waiting opinion of circular)

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #246 on: June 11, 2011, 10:23:06 am »
@lainz

I think it is a good idea to create a generic installer.

It can be possible to add some string after the version number but what you propose would be only windows friendly. It would be useful to know what programmers with lazarus on linux think about it.

It would be possible to determine the file to download by getting the web page :
http://sourceforge.net/projects/lazpaint/files/bin/
and find a link to an exe file. Maybe this list can be accessed another way, you know like doing "dir" in the online folder. Maybe there is a URL syntax for it.

Otherwise it would be necessary to parse the html file. For example the last setup is in the html element
<tr title="lazpaint4.2_setup_win32.exe" class="file">
It's rather easy to find, provided the html scheme does not change.


I've search the web for lazpaint and wow, LazPaint 4.2 is on many download sites !

They say that the author of the program is Fabien Wang... lol
« Last Edit: June 11, 2011, 10:38:07 am by circular »
Conscience is the debugger of the mind

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #247 on: June 11, 2011, 10:37:28 am »
@lainz and @circular.

In my opinion, i'd rather open a new project to create a generic and multiplatform update checker which would also get the binaries and restart the app.

Or i could just do this in lazpaint, easily:
1) get the latest version from portable zip (due to the naming convention
lazpaint + version number + '_' + win32 or gtk2, it would be easy to download the zip directly)
2) rename the current binaries with a prefix "old_"
3) extract the downloaded zip in the app directory
4) exit lazpaint if opened
5) delete old files and start new lazpaint
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #248 on: June 11, 2011, 10:43:46 am »
In fact, FW and lainz you're talking about two different things. Both are possible and useful.

FW what you propose would make the update process faster.

What lainz propose would be a generic downloader, not an updater. This downloader could download any program. I think that it would be great to have such downloader, that go on sourceforge site to know what the last version is. With some configuration, it could work for any program, not only LazPaint.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #249 on: June 14, 2011, 06:02:31 pm »
Lainz, you've made a po file for translation. How does it work?
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #250 on: June 14, 2011, 07:30:29 pm »
Lainz, you've made a po file for translation. How does it work?

See here:

http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_programs

I used "IDE options for automatic updates of .po files"-

PD: also I added High DPI procedures in each form in LazPaint (see image attached).
« Last Edit: June 15, 2011, 01:17:58 am by lainz »

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #251 on: June 15, 2011, 12:50:58 pm »
@lainz: i've deactivated scaledpi in main form and in toolbox.

i just noticed that tool windows do not have their title anymore. any idea why?

i checked DPI aware application in project option, now I get "error while compiling resources"

by the way, where is the setting or the call to use po files ?
« Last Edit: June 15, 2011, 12:54:36 pm by circular »
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #252 on: June 15, 2011, 06:12:37 pm »
@lainz: i've deactivated scaledpi in main form and in toolbox.

I fixed the TToolBox
(See image attached).

i just noticed that tool windows do not have their title anymore. any idea why?

I have no idea.

i checked DPI aware application in project option, now I get "error while compiling resources"

I solved the problem.

by the way, where is the setting or the call to use po files ?

I've now added. Now the translation is done with the .po files on initialization.
« Last Edit: June 15, 2011, 08:26:08 pm by lainz »

circular

  • Hero Member
  • *****
  • Posts: 3665
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #253 on: June 15, 2011, 10:42:59 pm »
Thanks Lainz.
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #254 on: June 15, 2011, 10:55:13 pm »
Thanks Lainz.

Sorry if I have sent you a lot of messages =D


 

TinyPortal © 2005-2018