C
C#•8mo ago
terrible house

Is my project idea doable? Please help me discover how.

Hello! I want to create a windows forms app that's basically a blank canvas on which you can upload your own images that you can zoom in on and move around. It would be used as a storage for reference images. I also need the images to not lose their quality when zooming in. I'm only wondering if this is technically possible but if anyone has any advice for how i should do some of the things mentioned above it would mean a lot since i'm just starting out with learning, this being my first project that's not entirely done with a tutorial helping me.
31 Replies
Jimmacle
Jimmacle•8mo ago
it sounds possible, not sure what you mean by not lose quality when zooming in though images only have so much detail depending on resolution, focus, etc
terrible house
terrible house•8mo ago
what i meant is being to scale the image infinitely smaller on the said blank canvas without losing the resolution of the image so basically i would be able to fit infinite images on this one blank canvas
Jimmacle
Jimmacle•8mo ago
so zooming out?
terrible house
terrible house•8mo ago
i don't really know what you mean by that catroll
Jimmacle
Jimmacle•8mo ago
zoom in = make image bigger zoom out = make image smaller
terrible house
terrible house•8mo ago
yes i guess so then
Jimmacle
Jimmacle•8mo ago
then yes, you can do that without losing the original quality
terrible house
terrible house•8mo ago
thanks a lot @Jimmacle !!
Buddy
Buddy•8mo ago
Only vector based images would not lose their quality
terrible house
terrible house•8mo ago
yeah i'm sorry i misscommunicated what i needed what i meant was you could scale down the image and when zooming in on it it would look the same im going to seld some screenshots from the software im trying to copy
terrible house
terrible house•8mo ago
No description
terrible house
terrible house•8mo ago
No description
Buddy
Buddy•8mo ago
I know what you meant 😛
terrible house
terrible house•8mo ago
No description
Buddy
Buddy•8mo ago
Like a moodboard kind of app
terrible house
terrible house•8mo ago
yess exactly im having trouble even starting right not honestly
Buddy
Buddy•8mo ago
Don't be afraid of using libraries for the pannable canvas control if you don't want to make your own of course.
terrible house
terrible house•8mo ago
im going to have to look more into that
Buddy
Buddy•8mo ago
But I would advise against using WinForms though It is incredibly slow compared to alternatives such as WPF
terrible house
terrible house•8mo ago
i just wanted to learn c# while making a personal project if you advise i should do anything else but this im up for any ideas
Buddy
Buddy•8mo ago
Actually, it might be easier to just use the graphics context of a control
terrible house
terrible house•8mo ago
idk what u mean by that sorry
Buddy
Buddy•8mo ago
The OnPaint event for a control
terrible house
terrible house•8mo ago
aha yeah
terrible house
terrible house•8mo ago
i see how i would use this for moving and scaling an image\ but idk how to do the whole environment
Buddy
Buddy•8mo ago
Start by making a custom control
terrible house
terrible house•8mo ago
i see so just being able to move around an image that's what u mean by that right?
Buddy
Buddy•8mo ago
I would suggest by starting to make the actual ability to pan around AKA handling mouse events
terrible house
terrible house•8mo ago
okk thanks! i'll be starting there
Buddy
Buddy•8mo ago
in the OnPaint event you can draw a test square to make sure that the pan ability actually works