Giter VIP home page Giter VIP logo

ppink's People

Contributors

52fisher avatar artshevchenko avatar backspace54 avatar capricorni avatar earthjasonlin avatar geovens avatar kohanyirobert avatar lin-ycv avatar luicha avatar morghan avatar onyet avatar pubpub-zz avatar ridvanaltun avatar seyyedmohammadn avatar tiborepcek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ppink's Issues

Move & Copy Functions should be separated.

Currently, both functions are merged together and toggled via hotkey "P".

Suggestions:
(a) Move Function should only have 2 toggles ("One" or "All").
(b) Copy Function should be separated from the Moving Function and it should have its own hotkey and toggles ("One" or "All").
(bi) In Copying mode, when the mouse hovers over drawings, there should be a highlight (or box-up) indicator to show the user which drawing is to be copied.
(bii) A "Paste Function" should be included as well. One way to achieve this is to change the button from "Copy" to "Paste" once the user has selected one/all drawing(s) to be copied.

ppInk Crash

Hi, love the program, but every once in a while, ppInk crashes.

Here is the info from crash.txt:

12 / 09 / 2020 22:02UIThreadException

Oops, gInk crashed! Please include the following information if you plan to contact the developers (a copy of the following information is stored in crash.txt in the application folder):

Object reference not set to an instance of an object.

Stack Trace:
   at System.Windows.Forms.NotifyIcon.ShowContextMenu()
   at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
   at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

ppInk keeps crashing

01 , 22 , 2021 06:23UIThreadException

version 1.4.1.23757 built on 11/01/2021 13:11
Oops, ppInk crashed! Please include the following information if you plan to contact the developers (a copy of the following information is stored in crash.txt in the application folder):

Image format is not valid. The image file may be corrupted.
Parameter name: stream

Stack Trace:
at System.Windows.Forms.Cursor.LoadPicture(IStream stream)
at System.Windows.Forms.Cursor..ctor(String fileName)
at gInk.FormCollection.getCursFromDiskOrRes(String name) in D:\gink.git\ppInk\src\FormCollection.cs:line 153
at gInk.FormCollection..ctor(Root root) in D:\gink.git\ppInk\src\FormCollection.cs:line 589
at gInk.Root.StartInk() in D:\gink.git\ppInk\src\Root.cs:line 376
at gInk.Root.callshortcut() in D:\gink.git\ppInk\src\Root.cs:line 323
at gInk.CallForm._Click(Object sender, EventArgs e) in D:\gink.git\ppInk\src\CallForm.cs:line 27
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Lookin for help in translations:

I'm looking for some help to complete the translations. Already added Zh-Cn. Any help will be other language will be welcomed. You can post your contribution inhere.

New Feature: Capability to engage Snapshot when opening toolbar

Provide option to engage Snapshot immediately after opening toolbar. Then it is still possible to return to drawing mode depressing Esc.
This option can be enabled/disabled in the option dialog box
In order to disturb users, the option will be set to off by default

number stamp closed

(residualfrom #7)
I hit me a few times that when I click the arrow, the number stamp got selected. I'm not able to reproduce the issue but it happens at least 3 times today.

Snapshot problem

Hi, when I use the snapshot with the background board set to transparent it saves the screen perfectly. But if I use a background board set to white or black the snapshot saves only a white/black screen without any of the drawings that I made. Thanks.

Some suggestions

Would be possible to save my drawings without the transparent background? Because I make a lot of annotations on screen as I change it (on transparent mode) and I would like to save only that and not the screen background that is present when I take the snapshot. For example: long click on snapshot icon opens a choose a background only for the saved image (like the clear icon does).

I didn't find an option to change the toolbar color (only white color). If that was possible it would be nice.

Thanks.

Toolbar height not loaded from config.ini

When changing toolbar height in options it is correctly saved to config.ini and applied but after restarting ppink it retakes its 6.0 points height default setting

Obs - Can't capture "only" ppInk output

This is an issue which is also on gInk, and I'm not quite sure how either OBS or ppInk can solve this issue from a technical standpoint.
Opening the issue here as it seems to be the most active and advanced fork, but this might be a change that wants to be on both repos.

OBS is a video streaming and recording software which allows you to mix and match inputs, such as windows and monitors, to output a single video output.
Using this tool, ideally, I would like to draw on my screen and record the ppInk layer as well as the base layer separately, allowing me to isolate these.

Epic pen creates a "window" with only the drawing on it, which allows OBS to record it independently, such as demonstrated in this video: https://www.youtube.com/watch?v=BIU1XN9vkOA&t=2m05s

Using ppInk, it seems like there are two modes it uses: One where we don't have an active canvas, and the one where we do.

First, when we're not drawing, I can find the ppInk executable, but can only see the marker icon, which is fine in itself.
image

Second, while drawing on the screen, nothing seems to be captured, even though I'm drawing and have the toolbar open.
image


Note that while using a complete display capture, aka. recording everything on the screen, I do see the output of ppInk, but this doesn't allow much flexibility when using layers.
An example of what can't be done while using a display capture is draw "over" the other OBS sources, such as the webcam.

Therefore, I'm wondering:

  • Is there currently a way to capture only the output of ppInk, ideally only the output on one monitor?
  • If not, what is needed to do so, is this something ppInk needs to expose, or OBS to find?

Thanks a ton!

Toolbar height not saved on different decimal delimitor: 1,23 vs 1.23

On a machine with a different decimal notation, 1.23 instead of 1,23, the localized notation is used when saving the value to the config file, making the value invalid when the program attempts using it.

image
image

As 0,03 isn't a valid when loading the config, ppInk will revert to the default value of 0.06, making this unusable via the GUI.
Even if it's modified via the config file manually, every time you persist the changes from the GUI, it will be overwritten.

I would recommend either ensuring both formats are properly saved regardless of the entered text (Aka. converting 1,23 to 1.23), or supporting loading both formats when loading the config (Replacing , with .? Not sure if there are other conversions to be done)

idea: whiteboard, stroke size, color palette

whiteboard:
it is interesting when someone asks me a quick question and I want to quickly answer it by drawing. I find an area on the screen as a temporary drawing board. I open a notepad or any application that can give me a plain color area so that I can open ppink to draw on it. It would be nice if there is a button or hotkey change the entire screen to a black/white board for drawing.

stroke size:
the current stroke size picker is slightly unintuitive. What if we use the mouse scroll wheel to instantly change the stroke size and showing it directly on the pen tip or cursor.

color palette:
just another quick way to change color in drawing mode.

thank you so much for making ppInk the best annotation tool I use everyday.

Text Function - To allow users to type directly on screen without a separate text box.

I invited one of my friends to test out "ppInk Beta" and one of his feedback was that the Text Function (T) would be more intuitive if it allows the user to type directly on screen without the need for a separate text box.

He demonstrated this concept to me using another application known as ZoomIt.
Having tried it myself, it is true that the ability to type directly on the screen does improve the user experience.

If this feature becomes available in a future release, that would be really cool.

New Feature : polyline/polygone

I've just developped a new feature : polylines and polygones. the function is available under the line button. Draw edges by click or mouse down. To finish, click next to the last vertex.
Undo will remove the last segment and will allow to resume from there.
ppInkTst.zip
Waiting for your feed before introducing this commit into main branch.

hardcoded D drive location

UI Thread Exception when I exit ppink and start it again then hover over the image on bottom-right
there's no drive D on this machine
content of crash.txt:


version 1.4.1.23757 built on 11/01/2021 13:11
Oops, ppInk crashed! Please include the following information if you plan to contact the developers (a copy of the following information is stored in crash.txt in the application folder):

C:/Users/rs/happy.png

Stack Trace:
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
   at System.Drawing.Image.FromFile(String filename)
   at gInk.ImageLister..ctor(Root rt) in D:\gink.git\ppInk\src\ImageLister.cs:line 40
   at gInk.FormCollection..ctor(Root root) in D:\gink.git\ppInk\src\FormCollection.cs:line 208
   at gInk.Root.StartInk() in D:\gink.git\ppInk\src\Root.cs:line 376
   at gInk.Root.callshortcut() in D:\gink.git\ppInk\src\Root.cs:line 323
   at gInk.CallForm._Click(Object sender, EventArgs e) in D:\gink.git\ppInk\src\CallForm.cs:line 27
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

01 - 14 - 2021 15:19UIThreadException

version 1.4.1.23757 built on 11/01/2021 13:11
Oops, ppInk crashed! Please include the following information if you plan to contact the developers (a copy of the following information is stored in crash.txt in the application folder):

C:/Users/rs/happy.png

Stack Trace:
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
   at System.Drawing.Image.FromFile(String filename)
   at gInk.ImageLister..ctor(Root rt) in D:\gink.git\ppInk\src\ImageLister.cs:line 40
   at gInk.FormCollection..ctor(Root root) in D:\gink.git\ppInk\src\FormCollection.cs:line 208
   at gInk.Root.StartInk() in D:\gink.git\ppInk\src\Root.cs:line 376
   at gInk.Root.callshortcut() in D:\gink.git\ppInk\src\Root.cs:line 323
   at gInk.CallForm._Click(Object sender, EventArgs e) in D:\gink.git\ppInk\src\CallForm.cs:line 27
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

一些問題

1.請問可以做到,把兩次不同的圖合成一個嗎?因為需要常常移動原本畫好的圖,但是如果滑鼠不是同一次點擊的話,會只移動到某一個
2.可以編輯原本的圖嗎?例如:我畫了綠色直線,想把它編輯改成紅色。例如:原本畫了5cm 但後來想編輯把它改成10cm
3.現在這個版本按垃圾桶(clear)會出現問題

謝謝

Remote Desktop and Citrix Windows are on top of the ppink

Small Issue - in of usage of Citrix or Remote Desktop, the drawings of ppInk are created but in the background of the Citrix or Remote desktop window. Gink puts the annotations on top. Restart of ppInk solved the issue and I was not able to reproduce it again.

hotkey to quickly switch between curve and {rectangle, straight, arrow}

Is there a hot key combination to enable quick toggle between the curve and straight line?
it is more efficient than switching back and fore when drawing many lines and curve in the same screen. eg. writing and plotting lines in a graph.

For example.
In curve mode, hold the Ctrl to temporarily switch to rectangle mode
Hold SHIFT to switch straight line
Hold Ctrl-SHIFT to switch Arrow

Releasing the above keys to switch back to curve.

Load & Save Functions

Add feature to save stroke layout and append it

  • buttons can be hidden (through the options)
  • Default folder is with the snapshots
  • Autosave when stopping inking
  • Load works in append (existing drawings are not cleared)
    Lond click to select file to save/load

beta version available here awaiting testing:
ppInk beta load-save.zip

enhancement request: arrow tool direction. stamp size and background

@pubpub-zz amazing. it is exactly what I need. Just 2 comment to add here.

  1. the arrow tool. I am not sure if it is due to my experience with other annotation tool that the arrow usually start with the tail and end with the arrow head. it seems more logical to me when using arrow to point to something.
  2. the number stamp. it would be nice if it comes with a background color to reduce the distraction from the background. it would be even better if there is a option to change the size of the stamp. Perhaps making it smaller.

Clipart Function (NEW) - Allows user to add custom icons (such as smileys, etc)

For the Clipart function (newly added handwriting tools), it would be more intuitive to simply left-click to add each clipart; much like the Numbered Chip (N) function.

*If a user would like to change its default size, he/she may set their preferred size in Options.

**This improvement could also be applied to the existing Numbered Chip (N) function, where the size is already pre-fixed but not yet customizable by the user.

UIThreadException

UIThreadException
Oops, glnk crashed! Please include the following information if you planto contact the developers (a copy of the following information is storedin crash.txt in the application folder):
未将对象引用设置到对象的实例。
Stack Trace:
在glnk.FormDisplay.timer1_Tick(Object sender, EventArgs e)位置D:\gink.gitipplnkisrc\FormDisplay.cs:行号668
在System.Windows.Forms.Timer.OnTick(EventArgs e)在
System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message&m)
在System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32msg, IntPtr wparam, IntPtr lparam)
!!! PLEASE PRESS ESC KEY TO EXIT IF YOU FEEL YOUR MOUSE CLICK ISBLOCKED BY SOMETHING

image

Feature request: Pen Tip configurable & Beta-testing

Hi,

I'm impressed by the enhancements made to the ppInk utility. Also the use of the ALT key popping-up the Arrow is appreciated.

[Q1] Would it be possible to implement a similar customization as you did for the Arrow (canvas cursor) but now for the Pen-tip? On my 4K monitor I continoulsy "loose" the pen tip and although I can use the ALT key to pop-up the Arrow, I would not always like the ALT key for the Arrow during a presentation.

I also downloaded the Beta-test version.

[Q2] For the moment, no issues found. Do you require something special to be tested?

With kind regards,

MrVain II

Useful improvements

I have some ideas about the design that can improve the user experience. For example

  • When I press the Eraser button, the cursor can become an Eraser
  • When I press ESC, I want the toolbar to be contracted and disable the drawing mode (enable click-through mode) instead of just turning it off.(Floating Call is not necessary)
  • Provides an option to adjust the size of the cursor, which is too large。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.