473,573 Members | 2,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

converting rtf to JPEG?

Tim
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks

Dec 14 '05 #1
9 2082
=?Utf-8?B?VGlt?= wrote on 14 dec 2005 in
microsoft.publi c.inetserver.as p.general:
Since rtf files cause so many troubles, i.e., allow the users to
download the files, slow loading, incompatible with other browser, and
so on. Do you think I should convert them to JPEG files to embeb them
into HTML? Once converting to JPEG, it is easier to programming in
HTML (i.e., just add the image tag), load faster, and prevent the user
from download the files? Do you think that's a good idea.


No.

Despite this not being an ASP issus, as the repeated translation would play
havoc on server cpu time, it also would increase download time enormously.

What is wrong with HTML/CSS for text and pictures?

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 14 '05 #2
What do you try to do with RTF ? Is this to display text ? If yes, why can't
you use just text...
--
Patrice

"Tim" <Ti*@discussion s.microsoft.com > a écrit dans le message de
news:87******** *************** ***********@mic rosoft.com...
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to embeb them into HTML? Once converting to JPEG, it is easier to programming in HTML (i.e., just add the image tag), load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks

Dec 14 '05 #3
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks


Dec 14 '05 #4
Tim
Hi all,
I use rft files not txt because I have to. There is a software vendor that
sells the program to convert the rtf files to JPEG. So, Evertjan, I don't do
the translation on the server. How can I prevent the users to down load files
onto their computer? Isn't it very slow to load the files on the user's
browser? It seems to me that I should use the converter, but I am not sure so
that's why I post the question.

Paul, look like you know the problem. I'd like to make sure I go the right
direction. Any tips about it would be appreciated.

Thank you,

"pa**@bullschmi dt.com" wrote:
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks


Dec 14 '05 #5
wrote on 14 dec 2005 in microsoft.publi c.inetserver.as p.general:
I use rft files not txt because I have to. There is a software vendor
that sells the program to convert the rtf files to JPEG. So, Evertjan,
I don't do the translation on the server.
So where is your ASP question?
How can I prevent the users to down load files onto their computer?
The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user.
Isn't it very slow to load the files on the user's browser?
That depends on the connection and the size of the jpg.
It seems to me that I should use the converter,
but I am not sure so that's why I post the question.
Do some testing, and if there is an ASP related question,
this NG is a good start.
Paul, look like you know the problem. I'd like to make sure I go the
right direction. Any tips about it would be appreciated.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 14 '05 #6
IMO we really need the whole picture. What are those RTF files ? How are
they produced ? Is this some kind of online document management application
? Do you have some kind of right management problem ?

You could also use the PDF or the some kind of e-Book format that AFAIK
includes some kind of protection scheme. The user must download the file to
have something viewable client side. A JPG file could be processed by an OCR
software to get the text.

Finally it's likely the image file is bigger than just the corrresponding
text.

I assume you have some kind of document management while the usual user
interface uses HTML ?

--
Patrice

"Tim" <Ti*@discussion s.microsoft.com > a écrit dans le message de
news:F1******** *************** ***********@mic rosoft.com...
Hi all,
I use rft files not txt because I have to. There is a software vendor that
sells the program to convert the rtf files to JPEG. So, Evertjan, I don't do the translation on the server. How can I prevent the users to down load files onto their computer? Isn't it very slow to load the files on the user's
browser? It seems to me that I should use the converter, but I am not sure so that's why I post the question.

Paul, look like you know the problem. I'd like to make sure I go the right
direction. Any tips about it would be appreciated.

Thank you,

"pa**@bullschmi dt.com" wrote:
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to embeb them into HTML? Once converting to JPEG, it is easier to programming in HTML (i.e., just add the image tag), load faster, and prevent the user from download the files? Do you think that's a good idea.
thanks


Dec 14 '05 #7
Tim
>So where is your ASP question?
My ASP question is how can I embed the rtf files into ASP project without
allowing the users to download/alter them? And I would like to use loop to go
through all rtf files.
The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user. That's why I am interested in JPEG. By converting to JPEG, in my opinion,
the rtf (or text) files will become images and it would not be downloaded by
coding. I still don't know how to code it but I am sure there is a way. Of
course, maybe I am wrong.
------------------ IMO we really need the whole picture. What are those RTF files ? How are
they produced ? Is this some kind of online document management application
? Do you have some kind of right management problem ?

Sorry if I can tell you more in details. Just understand that now I got a
bulk of rtf files that I need to play around to put them on the internet
using ASP.

Thank you for trying helping.
Tim
Dec 14 '05 #8
=?Utf-8?B?VGlt?= wrote on 14 dec 2005 in
microsoft.publi c.inetserver.as p.general:
So where is your ASP question? My ASP question is how can I embed the rtf files into ASP project
without allowing the users to download/alter them?


This NG is not about "asp-projects embedding" [definition?],
but about ASP being a platform for serverside coding.

Whatever you send to the user must be downloaded, because there is no
difference between those words.
And I would like to use loop to go through all rtf files.
Elementary:

<%
for n=0 to RTFmax
%>
<a href='myDir/myRTF<%=n%>.rtf '>myRTF<%=n%></a><br>
<%
next
%>

The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user.

That's why I am interested in JPEG. By converting to JPEG, in my
opinion, the rtf (or text) files will become images and it would not
be downloaded by coding. I still don't know how to code it but I am
sure there is a way. Of course, maybe I am wrong.


"downloaded by coding", how else would you download something?

Text in jpg can be reconstructed to simple text by software,
unless you make the jpg so bad, it is even a problem for human reading.

and the jpg-s themselves can be saved to the local hd easily.
------------------
IMO we really need the whole picture. What are those RTF files ? How
are they produced ? Is this some kind of online document management
application ? Do you have some kind of right management problem ?

Sorry if I can tell you more in details. Just understand that now I
got a bulk of rtf files that I need to play around to put them on the
internet using ASP.


ASP, being serverside technology has nothing to do with your obfuscation
efforts, unless it does some serverside task.

Once the stream has left the server, ASP is not involved.

I think, unless you are comfortable by a goal of preventing 80% of the
users, the lazy ones, to counter your ineffective measures, you are out of
luck. And ASP will not help you.

Setting a authentication, and limiting the number of users to trusted users
[and perhaps certified lazy users], whom you do not mind using your rtf-s,
is a better approach.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 15 '05 #9

Tim wrote:
So where is your ASP question? My ASP question is how can I embed the rtf files into ASP project without
allowing the users to download/alter them? And I would like to use loop to go
through all rtf files.


You're doing this the hard way. Convert all your stuff to PDF, and if
you're concerned about alteration, put passwords on them, and let
people download all they want.
That's why I am interested in JPEG. By converting to JPEG, in my opinion,
the rtf (or text) files will become images and it would not be downloaded by
coding. I still don't know how to code it but I am sure there is a way. Of
course, maybe I am wrong.


Everything in a browser is downloaded, that's why you can see it.
And if someone can see it, they can take a snapshot of it.

Dec 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2652
by: Ming | last post by:
Hi All, I want to write a PHP webpage which allows people to upload images (no matter what formats) to me and at the same time converts any non-jpeg image to JPEG. Here's what I have: $FileDest = "/uploads/1.gif"; if (!move_uploaded_file($_FILES, $FileDest)):
6
41606
by: Luis Arvayo | last post by:
Hello, I am trying to convert a jpeg image stored in a PictureBox to a byte array in order to later save it to a database, but I get this error : "Generic Error in GDI+". The source code is the following (when clicking in a button): MemoryStream ms = new MemoryStream(); pictureBox1.Image.Save(ms,...
0
1755
by: Mark Allen | last post by:
Hello, I am creating an RTF document server side for a report. However I am having problems converting images into the required RTF format. I am converting the image into a string (binary) and including the image syntax as per the RTF Specification, however the image is not appearing when I view the document in Word or WordPad.
6
4761
by: Krakatioison | last post by:
I've seen once program which was able to convert any url to JPG file. Once I tried it on cnn.com website and it created the nice jpg, even that the page was scrollable, so it was not using printscreen or anything like that. Any idea how these things get done? K.
4
2385
by: Beginner | last post by:
How do I convert JPEG images to binary files in ASP.NET? Please advice. Thanks.
2
1598
by: marydeepthy | last post by:
Hi, I am a not an expert in c, but i want to be one. In many applications, we can save a jpeg/gif/bmp image as gif/bmp/jpeg. I want to write my own program for that. i am searching the net to find some idea. or some example programs. Please do help me. Regards
2
10333
by: Laurent Navarro | last post by:
Hello, I am using a library which returns a byte containing RAW data, ie all pixels' color values coded in a byte array without header. I would like to save those data into a JPEG file so I tried to use the MetaFile class. byte data; (...) // Creating the RAW image through the DLL call. MemoryStream memoryStream = new...
2
4967
by: mndprasad | last post by:
hi all i am doing a project in java where i need to convert 10 jpeg images into a single tiff image..conversion of single jpeg image to single tiff is happening but embedding all the 10 jpeg images into a single tiff is not happening..i hav tried out with single image conversion.. My code is *********************** import...
5
3975
by: Vani Perumal | last post by:
Hai All, I am working on Fingerprints. I reproduced fingerprints in C. I want to print it and also for matching I want to store the output as a JPEG file. For printing I tried PrintScreen, I toggled from the full screen mode then I tried PrintScreen. But nothing was worked out. Please tell me how to take printout. Also how to store the output...
0
7784
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7705
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7796
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6424
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3739
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2223
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1310
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1044
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.