[Script] Quick Picto Viewer v6+

Post your working scripts, libraries and tools for AHK v1.1 and older
robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 27 May 2021, 14:18

@tidbit .Thank you . <3

Here's a new version:

- v5.1.5 (2021-05-27)
- [new] brush shape and color randomization options
- important bug fixes

Next is.. a toolbar.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 08 Jul 2021, 10:53

Hello, guys!

I am back at it again! A new version of Quick Picto Viewer is here. It has many bug fixes. Memory leaks fixes. Crashes fixes. And some new features:

- v5.2.0 (2021-07-08)
- [new] «check for updates» mechanism implemented [Menu > Help > ...]; it only checks for a newer version; the user must download and update the application
- [new] gamma correction option; when this is activated and images are edited, the colors are mixed using gamma correction; this improves colors mixing quality
- [new] draw shape contours panel
- [new] texture option fill for «fill shape» tool
- [new] brushes can have textures now - you can find a drop down with textures in the Paint Brush panel
- [new] brush automatic rotation based on mouse movements
- [new] option to set viewport ambiental texture size [Menu > Interface > Additional settings]
- reorganized the «fill shape» panel
- various important bug fixes


I hope you guys like it.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

ozzii
Posts: 491
Joined: 30 Oct 2013, 06:04

Re: [Script] Quick Picto Viewer v5+

Post by ozzii » 09 Jul 2021, 08:16

Ss always Marius, thank you for your work.

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 15 Aug 2021, 08:42

Hello, guys!

@ozzii . Thank you <3

Has anyone missed me, huh? :-)

Here's a new version of Quick Picto Viewer . This brings a mildly sexy toolbar to facilitate the usage of the application and... bug fixes.

- v5.2.5 (2021-08-15)
- [new] proper toolbar;
- left and right click actions for the icons; it also allows to click and drag to adjust values associated with the icon actions;
- it can be used with a keyboard - press Shift+Tab to acttivate it, and then the arrow keys to navigate the icons;
- the toolbar is dynamic - icons or their associated actions change on context; tooltips are updated to reflect this;
- the toolbar can be horizontal or vertical; two columns options also available;
- icon sizes can be changed
- the quick bar is now obsolete and is deactivated by default; the toolbar is now turned on by default
- various bug fixes and minore improvements

Screenshots with the toolbar on the first page, post.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Re: [Script] Quick Picto Viewer v5+

Post by arcticir » 16 Aug 2021, 22:07

Thank you.
Do you have any plans to use Direct2D instead of GDI+?
The performance of GDI+ is too low, very slow when loading and zooming images (20M+), a common problem for almost all image viewers using GDI+. GDI+ is almost a thing of the past.

There are packaged Direct2D libraries d2d1.ahk in the forum.

https://github.com/neptercn/Component_AHK

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 18 Aug 2021, 03:22

Hello!

@arcticir Reply:

Yes, I am aware D2D is the modern way to go about making an image viewer, along with WIC. And two years ago, I even attempted using D2D with the library you suggested, but I failed to get it working. However I got D2D working with a nicely coded working D2D library for AutoIT. And oh boy, it was MUCH faster to zoom and rotate images. As an introductory phase for me, towards D2D, I struggled a lot with getting a WIC library (I think from the same guy) to work in AHK, but I failed. You can even find the WIC library file in the Quick Picto Viewer sources - it is unused. I have not seen or found examples of D2D or WIC working in AHK to help me get started.

Now, the main reason Quick Picto Viewer does not have D2D is my limited intellect and understanding of pointers, structs and the D2D APIs. If you want and know how to use D2D APIs, I am open to receive help with this. This limited intellect I have also keeps me from moving away from AHK. I would like to use a proper language, eg. C++, Rust or C#. I suppose I could code a much more efficient version of Quick Picto Viewer in a proper language and without having it falsely flagged as malware.

Thank you for the suggestion. I may try it again at some point .

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

hasantr
Posts: 933
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Re: [Script] Quick Picto Viewer v5+

Post by hasantr » 18 Aug 2021, 07:59

Quick Picto Viewer. It's a huge job done with Autohotkey.

arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Re: [Script] Quick Picto Viewer v5+

Post by arcticir » 18 Aug 2021, 15:08

I have collected two properly working packages which require AHK-H1 to run.


dcomp_sample1.zip
(29.74 KiB) Downloaded 324 times
It is an example of loading and displaying an image. But it uses D3D, which D2D depends on D3D at the bottom. D3D contains all the features of D2D and is much richer.

UIAnimationSample.zip
(12 KiB) Downloaded 316 times
is the example related to D2D rendering.

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 21 Aug 2021, 06:02

@arcticir . Thank you very much . I will look into those soonish.

Hello, guys!

I painted a new image entirely in Quick Picto Viewer and recorded the entire process. I made a timelapse video of this.



Image

Full size image: http://marius.sucan.ro/media/files/blog/ahk-scripts/images/the-cosmic-eyestrain.jpg

The video is intended to demonstrate the capabilities of Quick Picto Viewer as an image editor.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Re: [Script] Quick Picto Viewer v5+

Post by arcticir » 21 Aug 2021, 09:36

It's so awesome that you forget that this was done with AHK.
I tried to look at its source code and desperately found that quick-picto-viewer.ahk has 60,000+ lines of code. Such a large amount of code is equally awesome. If I follow my habit, even splitting them into 6 files would be 10000 lines each :shock:

hasantr
Posts: 933
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Re: [Script] Quick Picto Viewer v5+

Post by hasantr » 21 Aug 2021, 16:40

Make Photoshop killer with Autohotkey. An amazing job.
I like the Fast Stone Image Viewer. It's been indispensable on my computer for years. In full screen mode, the ability to view photos in the folder in the hidden top bar is very good. It also has beautiful features that point to photos and then select and move or delete those photos. Are you interested in I don't know.. But your job is already great.
https://www.faststone.org/FSViewerDetail.htm

ozzii
Posts: 491
Joined: 30 Oct 2013, 06:04

Re: [Script] Quick Picto Viewer v5+

Post by ozzii » 23 Aug 2021, 11:04

Just one word: E X T R A O R D I N A R Y

User avatar
tidbit
Posts: 1280
Joined: 29 Sep 2013, 17:15
Location: USA

Re: [Script] Quick Picto Viewer v5+

Post by tidbit » 23 Aug 2021, 15:38

thats 13 letters.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 25 Aug 2021, 16:34

Thanks guys for the positive messages.

@arcticir .yes, this is my biggest script. It also has many includes... It'll not grow much more, as I plan to gradually end the work on it, as it slowly becomes tiring.

@hasantr .. You can do that in QPV. Open image or folder of images and press enter key. In thumbnails list view you can select images or delete images individually, rename, move and so on. You can also identify dupes and generate statistics. Press F4 to open the folders explorer for more abilities.

Side note. QPV is not intended as a "Photoshop killer". It's just meant to be a picture viewer with some sweet image editing tools. In other words, I want to have it cover gloriously the casual image editing needs.

New version coming soon.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 27 Aug 2021, 14:20

And I am baaaack...


- v5.2.7 (2021-08-27)
- [new] option to paint using symmetry along X or Y, or both axis [available only for solid color, soft edges and cloner brush types]
- [new] option to draw freeform shapes using symmetry on X or Y axis
- [new] option to alter GIFs playback speed with alt + comma / dot
- [important] fixed brushes not applying brush texture properly [cloner, eraser, effects, smudge and so on]
- other bug fixes

I still plan to add: bucket tool to recolour areas... and the ability to skew images [using the transform tool].

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 15 Sep 2021, 14:14

Hello, good people of Earth, aka Earthlings!

I come in peace, to you all, with gifts like no other:

- v5.3.0 (2021-09-15)
- [new] flood fill tool with advanced features: blending modes, tolerance and more options
- quick menus search panel is now resizable
- many important bug fixes

Example of the flood fill capabilities:
Image

It only took one click on her blouse, to change its color.

PS. Before anyone asks, she is Kym Graham (aka Kay), from OnlyTease... app features ;-).

Best regards, Marius.
Last edited by robodesign on 17 Sep 2021, 04:57, edited 1 time in total.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

ozzii
Posts: 491
Joined: 30 Oct 2013, 06:04

Re: [Script] Quick Picto Viewer v5+

Post by ozzii » 16 Sep 2021, 11:41

Does she come with the update :xmas: :dance:
I'm downloading right away :oops: several times....

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 17 Sep 2021, 02:37

ozzii wrote:
16 Sep 2021, 11:41
Does she come with the update :xmas: :dance:
I'm downloading right away :oops: several times....
Please let me know how was your experience with QPV. Any feedback is welcomed. Thank you very much.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

viv
Posts: 233
Joined: 09 Dec 2020, 17:48

Re: [Script] Quick Picto Viewer v5+

Post by viv » 17 Sep 2021, 05:14

surprising
As a non-English user
I typed the following using an online translator and hope you can read it
There is a lot of content, so I hope you don't get bored

1,When I switch to the next image or drag the image in zoom mode each time
The mouse will show an animation of what is loading(A turning circle)
Is this inevitable?

2,Is there a similar function to pre-read the next image?
I have noticed that when switching to the next image the screen fades slightly and is displayed in the middle "(-)"
Similar darkening when scrolling up and down in thumbnail mode
Is there a way to disable this loading tips?
There is also a longer loading time when the next image is larger
So there is the ability to pre-read the next image or even the next 10 (custom) images?

3,Is there a moderate width display mode?
This is perfect for comics where the width is greater than the length of the image
1.jpg
1.jpg (396.94 KiB) Viewed 5382 times
4,Is there an option for a sorting method?
such as file name, size, modification time, etc.

5,Hide title bar
Hopefully in this mode && images are not zoomed in && !touch screen mode
Hold down the left button and drag the window to move the window position
Otherwise there is no way to change the window position

6,Shortcut settings
I did notice that the Help quick picto vierwer interface has keyboard shortcuts
but these shortcuts cannot be modified
Is there an option to change them?

7,some bugs?
Associate Quick Picto Viewer not work, either run directly or as an administrator user(This is supposed to set the default image viewer?)

Dragging an image to the current window does not change the working folder
The first time you drag an image it will change the working folder to the folder where the image is located
But then dragging the image to the window does not change the working folder

In fixed to original size mode
Image position cannot be changed by arrow keys or mouse
The move operation can be resumed by moving slightly in the image navigator

robodesign
Posts: 941
Joined: 30 Sep 2017, 03:59
Location: Romania
Contact:

Re: [Script] Quick Picto Viewer v5+

Post by robodesign » 17 Sep 2021, 06:34

@viv . Thank you for the feedback.

1. You cannot disable this. I do not plan to add an option for this.

2. Precaching of images is planned, some time in the distant future, not soon. Loading tips cannot be deactivated, and i have no plans to add an option to disable them. I want users to know exactly when the application is busy loading or processing stuff.

3. The image adaptation to window mode described is not available yet. Might be added in the future...

4. Yes. Press Enter to switch to list/thumbnails mode and in the main menu or in the toolbar you can find «Sort» It has many options to sort files.

5. Yes, this option is available as well . Main menu > Interface.

6. I would love to allow users to customize keyboard shortcuts, but it entails too much work. This is not planned.

7. Associate Quick Picto Viewer with image file formats does not work because Microsoft does its best to prevent applications from modifying system file associations, in Windows 10 . Other image viewers have the same issues, at least when i tested them.

8. That is intentional, not a bug. Working folder is only based on the first dragged image.

9. Original size mode is distinct from Custom zoom mode. Only in custom zoom mode images can be panned. The image navigator automatically switches to that mode.

Thank you again.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

Post Reply

Return to “Scripts and Functions (v1)”