Displaying 20 results from an estimated 80 matches similar to: "can't crop images using ImageMagick"
2020 May 05
3
Custom ISO
Hi All,
I am trying to make a customer ISO. When I run this command:
mkisofs -o $DESTINATION_FILE -b isolinux/isolinux.bin -c boot.cat \
-no-emul-boot -boot-info-table \
-V "$NAME" -boot-load-size 4 -boot-info-table -R -J -v -T \
-eltorito-alt-boot -e images/efiboot.img \
$DESTINATION_DIR
it tells me:
Size of boot image is 4 sectors -> No emulation
2002 Apr 16
2
Can rsync update files in place?
I've just subscribed, but a search of the archive doesn't indicate this
has been handled before...
Is there a way to get rsync to not create a new file while transferring
and then rename it, but to instead update the existing file in place,
i.e. simply write those blocks that have been updated and leave the rest
alone?
That would be ideal for what I wanted rsync for, namely updating
2006 Jul 28
6
STRFTIME() why is it not defined
I am trying to take the input from a field in wich the user enters a
date, and formatting it to my time format
if params[:gotcha] != ''''
gotc = params[:date].to_a
gotc.strftime("%m/%d/%y")
end
Yet I get this error:
NoMethodError in AddController#add
undefined method `strftime? for ["00000"]
What''s wrong. I''m positive this method is
2012 Feb 21
0
nil can't be coerced into BigDecimal Options
hi guys im playing with RoR with the environment of rails 3 ruby 1.9 i
got stuck in
nil can''t be coerced into BigDecimal
error
i need to get the total cost of the products inside the cart i know
where the problem is(i think) but i almost did every thing
cart/show.html.rb
<div class="cart_title" >Your Cart</div>
<table>
<% for item in
2020 May 06
0
Custom ISO
Thanks for hint. I have changed to this:
genisoimage \
-v \
-J -R \
-V "$NAME" \
-b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \
-boot-info-table -eltorito-alt-boot -b images/efiboot.img
-no-emul-boot -boot-load-size 18755 \
-o $DESTINATION_FILE .
it now creates the ISO and is EFI bootable.
However - I have a different issue
2009 Jul 28
1
[PAPERCLIP] How to avoid image crop in paperclip styles
Hello All,
I am using rails paperclip plugin for image upload.
my image has different styles and the original image gets cropped
while processing styled image.
I dont want image to be cropped.
Is there any way ????????
Thanks,
Sandip R~
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Dec 02
0
ffmpeg2theora crop bug
Hi List,
there seem to be a bug with ffmpeg2theora encoder with specific video sizes,
the one we tested was 420x568 and right and lower part of the image was
cropped in output.
cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20081201/191729d7/attachment.htm
2005 Nov 19
1
Crop white border for PDF output
Hi,
I produce a series of diagrams with R in order to include them in my
documents (LaTeX). However, there is a white border around the diagrams.
For some that do not have anything written at the very bottom, the white
border is relatively large. The rather big space between figure and
caption at the final document looks not nice.
It would be best not to have any white border. I played with
2011 May 22
1
How do you crop an image with carrierwave 'after the fact' in rails?
What I''d like to do is upload an image, then take the user to a new
page where I will use Jcrop to let the user select the part of the
image they want to crop, and then store that image. Essentially, I
want to make it a 2-stage process.
I know how to do the javascript part, and I understand the basic flow
of how to create this functionality. However, I am not aware of the
carrierwave
2018 May 10
2
readLines() behaves differently for gzfile connection
When I read a .gz file with readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original
scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes
become their own unique images.. by way of simulating an upload from
the controller using attachment fu.. can''t quite figure out the
specific method in fu that would allow me to do this.. I''m so near the
edge right
2006 Jun 13
3
Image Crop
I want to make a program that will be able to take an image file and
crop a square at a given coordinate value (X,Y).
I would tell it the X,Y and the size of the crop ie. 350x350. The X,Y
would be the center of the newly created image.
Thanks for you help
--
Posted via http://www.ruby-forum.com/.
2011 Mar 23
1
Function to crop p-values from multiple Anovas
Starting with data from a microarray experiment and I would like to analyse the influence of two factors (age, treatment) on gene expression.
Looking through the r-help archives and the web I tried the following:
I put my data in a dataframe similar to this one:
> example.df <- as.data.frame(matrix(data=runif(32,100,1000), nrow=4, ncol=4))
> example.df <-
2018 May 10
1
readLines() behaves differently for gzfile connection
You bet - it's available on github at
https://github.com/UW-GAC/wgsaparsr/blob/master/tests/testthat/1k_annotation.gz
-Ben
On Thu, May 10, 2018 at 4:17 PM, Michael Lawrence <lawrence.michael at gene.com
> wrote:
> Would it be possible to get that file or a representative subset of it
> somewhere so that I can reproduce this?
>
> Thanks,
> Michael
>
> On Thu, May
2013 Apr 05
3
Fwd: rsync 3.0.9 partial file left after CTRL-C WITHOUT using --partial
Hi folks,
man page says "By default, rsync will delete any partially transferred file
if the transfer is interrupted"
I have (reproducible) a partial file left, if I do CTRL-C
source-dir: mounted LVM XFS
dest-dir: see source-dir
Ubuntu 12.04.1 (LTS)
kernel 3.2.0-39-generic
command:
rsync -a
2004 Jul 07
0
scp man page: source vs. destination
As a fairly experienced Unix user, it's obvious to me that scp copies files
from left to right -- that is, that the last [host:]file on the command line
is the destination. However, this might not be so obvious to users with
less experience. It pains me to suggest this, but perhaps the scp man page
should be edited to make this more obvious. For example, from the [Free]BSD
cp(1) man
2018 May 10
0
readLines() behaves differently for gzfile connection
Would it be possible to get that file or a representative subset of it
somewhere so that I can reproduce this?
Thanks,
Michael
On Thu, May 10, 2018 at 3:31 PM, Ben Heavner <bheavner at gmail.com> wrote:
> When I read a .gz file with readLines() in 3.4.3, it returns text (and a
> warning). In 3.5.0, it gives a warning, but no text. Is this expected
> behavior or a bug?
>
>
2007 Jul 26
3
Spec for validation plugin
Hi,
I''m writing a specification for a model called Location which has a
post_code attribute which should be a valid UK postcode. I''m using the
http://svn.designbyfront.com/rails/plugins/validates_as_uk_postcode/
validates_as_uk_postcode plugin to handle the validation but I''m not sure
how I should properly specify my model.
Heres the model code:
class Location <
2012 Sep 13
1
[LLVMdev] Question about optimizing mem in loop
Is there a strong reason why this simple code:
for(rnd = 0; rnd < Nrnd - 1; ++rnd)
{
// round(inv_rnd, b1, b0, kp);
for (iter = 0; iter < 4; ++iter) {
round_i(inv_rnd, b1, b0, kp, iter);
}
l_copy(b0, b1); kp -= nc;
}
Produces the complicated control flow logic in the attached CFG?
If I unroll the loop I no
2006 Jul 05
2
Protecting Static content
Hi,
I want to build a rails backed site which, in addition to some dynamic
content, also comprises a number of static content files. There are
some static html pages, some powerpoint presentations, and some PDF
documents.
I want to make sure that the user is logged in before they can access
the protected content. I''ve gone through the ''Agile development with