QB64 Phoenix Edition
Is it possible to display this SVG? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Is it possible to display this SVG? (/showthread.php?tid=2809)

Pages: 1 2


Is it possible to display this SVG? - SpriggsySpriggs - 06-18-2024

Attached is a 7z archive of some SVGs I made on my reMarkable 2 tablet. I want to see if anyone is capable of displaying them with the SVG loading in QB64. I've tried and failed.


RE: Is it possible to display this SVG? - a740g - 06-18-2024

The sketches use black and that simply disappears on a black background.


[Image: Screenshot-2024-06-18-231051.png]

Code: (Select All)
$RESIZE:SMOOTH

OPTION _EXPLICIT

DIM image AS LONG: image = _LOADIMAGE(_OPENFILEDIALOG$("Load SVG file", , "*.svg|*.SVG|*.Svg"), 32)

IF image < -1 THEN
    SCREEN _NEWIMAGE(_WIDTH(image), _HEIGHT(image), 32)
    CLS , _RGB32(255)
    _PUTIMAGE , image
    SLEEP
END IF

SYSTEM



RE: Is it possible to display this SVG? - a740g - 06-18-2024

Beautiful sketches BTW.  Smile


RE: Is it possible to display this SVG? - SpriggsySpriggs - 06-18-2024

It never crossed my mind about them being black on white. DOY! Thanks! I thought that perhaps they just had too many instructions and overloaded the system or whatever.


RE: Is it possible to display this SVG? - Kernelpanic - 06-19-2024

(06-18-2024, 05:22 PM)SpriggsySpriggs Wrote: Attached is a 7z archive of some SVGs I made on my reMarkable 2 tablet. I want to see if anyone is capable of displaying them with the SVG loading in QB64. I've tried and failed.
I got a Trojan message. I had the same problem weeks ago.  Huh

[Image: Trojaner-gefunden19-06-2024.jpg]


RE: Is it possible to display this SVG? - SMcNeill - 06-19-2024

Sounds like you need to white-list your QB64PE folder.


RE: Is it possible to display this SVG? - Steffan-68 - 06-19-2024

(06-19-2024, 02:46 PM)SMcNeill Wrote: Sounds like you need to white-list your QB64PE folder.
This has nothing to do with the QB64 folder, but rather with the 7Zip file.
I had that too and I don't know why Windoof is upset about this file. 
Probably because it is saved in the download folder and checked directly by the Devender and he just doesn't like something, which doesn't always have to be right.


RE: Is it possible to display this SVG? - GareBear - 06-19-2024

Steffan-68,

I tried opening  Sketches.7z to extract and windows 10 did not know what to do with it . So, I right clicked the file to look down the menu and clicked 'Open with' option. I had 7z extractor in my list to open. It extracted the files that was there. It works like it should from the the program a740g provided. This is what I did earlier today. Hope this helps.


RE: Is it possible to display this SVG? - bplus - 06-19-2024

(06-19-2024, 03:46 PM)Steffan-68 Wrote:
(06-19-2024, 02:46 PM)SMcNeill Wrote: Sounds like you need to white-list your QB64PE folder.
This has nothing to do with the QB64 folder, but rather with the 7Zip file.
I had that too and I don't know why Windoof is upset about this file. 
Probably because it is saved in the download folder and checked directly by the Devender and he just doesn't like something, which doesn't always have to be right.

yes without freeing security restriction options, windows wont even store a disapproved of file in downloads, no chance to see for yourself what it is.


RE: Is it possible to display this SVG? - Steffan-68 - 06-19-2024

(06-19-2024, 04:20 PM)GareBear Wrote: Steffan-68,
I tried opening  Sketches.7z to extract and windows 10 did not know what to do with it . So, I right clicked the file to look down the menu and clicked 'Open with' option. I had 7z extractor in my list to open. It extracted the files that was there. It works like it should from the the program a740g provided. This is what I did earlier today. Hope this helps.

It's not about unpacking the file, but rather that Windows marks it as a VIRUS and prevents the download.
You then first have to allow this file in Defender and download it again.