Search found 18 matches

by Loopingstar
Fri Oct 11, 2013 2:37 pm
Forum: Bugs - IDE
Topic: PB 5.20 LTS > Form editor menu/toolbar bug
Replies: 2
Views: 2214

Re: PB 5.20 LTS > Form editor menu/toolbar bug

Sorrry, i've just tested your tool, but is not so intuitive...
by Loopingstar
Tue Oct 08, 2013 9:46 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

I give an example of "encodeImage" in another of my posts: http://www.purebasic.fr/english/viewtop ... 13&t=56927, with the help of Chris :)
by Loopingstar
Mon Oct 07, 2013 8:10 pm
Forum: Coding Questions
Topic: export RTF file > image problem
Replies: 7
Views: 3379

Re: export RTF file > image problem

Wow Chris, thank you very much!
This code works very well and is very fast.
I just changed the code a bit, because I needed the image is loaded from disk and not oncluded in binary file:


image = LoadImage(#PB_Any, "myImageFile.jpg")
If IsImage(image)
*mem = EncodeImage(image, #PB_ImagePlugin ...
by Loopingstar
Mon Oct 07, 2013 6:22 pm
Forum: Coding Questions
Topic: export RTF file > image problem
Replies: 7
Views: 3379

Re: export RTF file > image problem

i've already tested, but it don't work (output's blank string).

I don't know how to convert images JPEG/PNG to HEX.
by Loopingstar
Mon Oct 07, 2013 6:03 pm
Forum: Bugs - IDE
Topic: PB 5.20 LTS > Form editor menu/toolbar bug
Replies: 2
Views: 2214

PB 5.20 LTS > Form editor menu/toolbar bug

Hi guys,

Thank you for your work, i love Purebasic ;)

When i work on multiple Windows form, and i add menus and/or toolbars on each Windows,
each menus has the menu id "0", and each toolBar as the toolbar id "0", and it's not possible to change.
When i click on "change viex code/design", it ...
by Loopingstar
Sun Oct 06, 2013 7:43 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Thank you for this change, ABBKlaus.
I installed the new version of the lib.

But I found a new bug:

According to my tests, if the size (width, height) of the JPEG image is less than the page size, it works.
But if the size of JPEG image is larger than the page size, the image is not displayed ...
by Loopingstar
Sat Oct 05, 2013 3:38 pm
Forum: Coding Questions
Topic: export RTF file > image problem
Replies: 7
Views: 3379

Re: export RTF file > image problem

anyone can help me please ?
by Loopingstar
Sat Oct 05, 2013 8:40 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Because the PDF is generated on the fly by the user.
And, in the software, is accepted PNG and JPEG images (PNG format is not widely known by users in general)
and they mostly use the JPEG.
by Loopingstar
Thu Oct 03, 2013 10:31 pm
Forum: Coding Questions
Topic: export RTF file > image problem
Replies: 7
Views: 3379

export RTF file > image problem

Hello,
i want to export a file in RTF format.
everything works except for images.


WriteStringN(0, "\qc{\*\shppict{\pict{\*\picprop\jpegblip}", #PB_UTF8)

;Bin2Hex image here

WriteStringN(0, "}}\par\par", #PB_UTF8)

I have already experimented with existing images in HEX format and it works ...
by Loopingstar
Thu Oct 03, 2013 9:21 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Please, anyone can help me ?
i have Purebasic 5.20 TLS X64 (on Windows Seven Pro 64 bits)

pdf_Image() don't work with JPEG pictures.
I have declared UseJPEGImageDecoder() and UseJPEGImageEncoder() without success


I have another problem wirth PurePDF 2.08...
When i use pdf_Image(), it does not ...
by Loopingstar
Wed Oct 02, 2013 11:17 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

I have another problem wirth PurePDF 2.08...
When i use pdf_Image(), it does not work with JPEG images.
The file "Tutorial07 Images.pb" dont work in the same manner.
Only PNG file is showing, the last page is blank. TEST > http://loopingstar.fr/abc/Tutorial07%20Images.pdf
Can anyone help me please ?
by Loopingstar
Wed Oct 02, 2013 7:45 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

I solved the problem of bookmarks.
When creating the first pass, I do not create bookmarks. I created bookmarks in the second pass, otherwise it bug.

See PDF with links and bookmarks working http://www.loopingstar.fr/abc/demo3.pdf
by Loopingstar
Tue Oct 01, 2013 7:40 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Okay folks, here my solution (thank you IdeasVacuum for idea):

I create my PDF one time (without saving) and i put in a LinkedList the Y position and the Page number of each chapter "title".
Then, i create second PDF and for each chapter number link (in chapter text), i search in my LinkedList the ...
by Loopingstar
Tue Oct 01, 2013 7:31 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Thank you ABBKlaus...
But i don't understand the mechanics...

I have another question : There is not "pdf_Free" or "pdf_Close" ?
Because, when i call two times "pdf_Create", his not kill the last...
by Loopingstar
Tue Oct 01, 2013 4:56 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Yes, it is a good idea.
thank you IdeasVacuum , I'll try to dig this solution.